aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-09-16 11:56:19 +0000
committerJohn Crispin <john@openwrt.org>2014-09-16 11:56:19 +0000
commit44249f71a863682ab2569c4794ed2a98bd59c1d9 (patch)
treee01492c520450e01200f2be5bde9f0f3e743b057 /include
parentac01f2b9d6f83fcb63b03b48be1dddd6ca963c0f (diff)
downloadupstream-44249f71a863682ab2569c4794ed2a98bd59c1d9.tar.gz
upstream-44249f71a863682ab2569c4794ed2a98bd59c1d9.tar.bz2
upstream-44249f71a863682ab2569c4794ed2a98bd59c1d9.zip
postinst trigger: the new postinst trigger broke IB
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42571
Diffstat (limited to 'include')
-rw-r--r--include/package-ipkg.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 494444613a..7cea44af65 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -176,6 +176,7 @@ ifeq ($(DUMP),)
chmod 644 $$(IDIR_$(1))/CONTROL/control
( \
echo "#!/bin/sh"; \
+ echo "[ \"\$$$${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; \
echo ". \$$$${IPKG_INSTROOT}/lib/functions.sh"; \
echo "default_postinst \$$$$0 \$$$$@"; \
) > $$(IDIR_$(1))/CONTROL/postinst