From 44249f71a863682ab2569c4794ed2a98bd59c1d9 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 16 Sep 2014 11:56:19 +0000 Subject: postinst trigger: the new postinst trigger broke IB Signed-off-by: John Crispin SVN-Revision: 42571 --- include/package-ipkg.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'include/package-ipkg.mk') 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 -- cgit v1.2.3