projects
/
openwrt
/
staging
/
stintel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
postinst trigger: the new postinst trigger broke IB
[openwrt/staging/stintel.git]
/
include
/
package-ipkg.mk
diff --git
a/include/package-ipkg.mk
b/include/package-ipkg.mk
index 494444613ae66079e883907bfa3520513827482c..7cea44af656a9294ea34e94dca8bdee003f00dd5 100644
(file)
--- 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