diff --git a/packages/falter-berlin-admin-keys/Makefile b/packages/falter-berlin-admin-keys/Makefile index 33026cef..64a0936a 100644 --- a/packages/falter-berlin-admin-keys/Makefile +++ b/packages/falter-berlin-admin-keys/Makefile @@ -34,7 +34,9 @@ endef define Package/falter-berlin-admin-keys/postinst #!/bin/sh -$${IPKG_INSTROOT}/tmp/falter-berlin-admin-keys/register_keys.sh +if [ -z $${IPKG_INSTROOT} ] ; then + /tmp/falter-berlin-admin-keys/register_keys.sh +fi endef $(eval $(call BuildPackage,falter-berlin-admin-keys)) diff --git a/packages/falter-berlin-autoupdate/files/post-inst.sh b/packages/falter-berlin-autoupdate/files/post-inst.sh index 0abebc53..96b53778 100644 --- a/packages/falter-berlin-autoupdate/files/post-inst.sh +++ b/packages/falter-berlin-autoupdate/files/post-inst.sh @@ -4,6 +4,8 @@ # intended. You better shouldn't touch anything here. # shellcheck disable=all +[ -z $IPKG_INSTROOT ] || exit 0 + # if autoupdate is not present in crontab, include it. crontab -l | grep /usr/bin/autoupdate >>/dev/null if [ $? != 0 ]; then diff --git a/packages/falter-berlin-bbbdigger/files/etc/uci-defaults/90-bbbdigger b/packages/falter-berlin-bbbdigger/files/etc/uci-defaults/90-bbbdigger index db8f7d24..fdef85ec 100755 --- a/packages/falter-berlin-bbbdigger/files/etc/uci-defaults/90-bbbdigger +++ b/packages/falter-berlin-bbbdigger/files/etc/uci-defaults/90-bbbdigger @@ -8,6 +8,8 @@ # # All other config sections are overwritten with current settings +[ -z $IPKG_INSTROOT ] || exit 0 + . /lib/functions.sh TUNNEL_SRV='_bbb-vpn._udp.berlin.freifunk.net' diff --git a/packages/falter-berlin-ssid-changer/files/post-inst.sh b/packages/falter-berlin-ssid-changer/files/post-inst.sh index 743a0265..5e91f729 100644 --- a/packages/falter-berlin-ssid-changer/files/post-inst.sh +++ b/packages/falter-berlin-ssid-changer/files/post-inst.sh @@ -1,5 +1,6 @@ #!/bin/sh -# + +[ -z $IPKG_INSTROOT ] || exit 0 # if ssid-changer is not present in crontab, include it. crontab -l | grep ssid-changer >>/dev/null