gnunet: no longer fail if gnunetdns doesn't exist (yet)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2016-05-04 15:26:19 +01:00
parent ce079c382b
commit e7089e3d7b
2 changed files with 2 additions and 3 deletions

View File

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=gnunet
PKG_SOURCE_VERSION:=37051
PKG_VERSION:=0.10.1-svn$(PKG_SOURCE_VERSION)
PKG_RELEASE:=3
PKG_RELEASE:=4
# ToDo:
# - break-out {peer,name,data}store for each backend

View File

@ -15,8 +15,7 @@ SUID_ROOT_HELPERS="exit nat-server nat-client transport-bluetooth transport-wlan
chmodown_execbin() {
execname=/usr/lib/gnunet/libexec/gnunet-$1
if [ -x $execname ]; then
[ "$3" ] && chown $3 $execname
chmod $2 $execname
[ "$3" ] && chown $3 $execname 2>/dev/null && chmod $2 $execname
fi
}