summaryrefslogtreecommitdiff
path: root/include/package-ipkg.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-29 07:35:19 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-29 07:35:19 +0000
commit61dd3c80134845c4aabbe1737d30418d67d0a2de (patch)
tree346e4e4a2304557b6f498a432de46e000fab0b01 /include/package-ipkg.mk
parent7002f6326e9dcd4cb3272763ba9b9debd9f3a60d (diff)
downloadmtk-20170518-61dd3c80134845c4aabbe1737d30418d67d0a2de.zip
mtk-20170518-61dd3c80134845c4aabbe1737d30418d67d0a2de.tar.gz
mtk-20170518-61dd3c80134845c4aabbe1737d30418d67d0a2de.tar.bz2
build: make postinst/prerm scripts executable
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45128
Diffstat (limited to 'include/package-ipkg.mk')
-rw-r--r--include/package-ipkg.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index b7dc0ad..5ea39e1 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -203,7 +203,7 @@ $(_endef)
echo ". \$$$${IPKG_INSTROOT}/lib/functions.sh"; \
echo "default_prerm \$$$$0 \$$$$@"; \
) > prerm; \
- chmod 0755 prerm; \
+ chmod 0755 postinst prerm; \
$($(1)_COMMANDS) \
)