diff options
author | John Crispin <john@openwrt.org> | 2014-09-16 11:56:19 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-09-16 11:56:19 +0000 |
commit | 44249f71a863682ab2569c4794ed2a98bd59c1d9 (patch) | |
tree | e01492c520450e01200f2be5bde9f0f3e743b057 /include | |
parent | ac01f2b9d6f83fcb63b03b48be1dddd6ca963c0f (diff) | |
download | mtk-20170518-44249f71a863682ab2569c4794ed2a98bd59c1d9.zip mtk-20170518-44249f71a863682ab2569c4794ed2a98bd59c1d9.tar.gz mtk-20170518-44249f71a863682ab2569c4794ed2a98bd59c1d9.tar.bz2 |
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.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 4944446..7cea44a 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 |