aboutsummaryrefslogtreecommitdiffstats
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
parent7002f6326e9dcd4cb3272763ba9b9debd9f3a60d (diff)
downloadupstream-61dd3c80134845c4aabbe1737d30418d67d0a2de.tar.gz
upstream-61dd3c80134845c4aabbe1737d30418d67d0a2de.tar.bz2
upstream-61dd3c80134845c4aabbe1737d30418d67d0a2de.zip
build: make postinst/prerm scripts executable
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45128
-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 b7dc0ad1e8..5ea39e1b06 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) \
)