From: Felix Fietkau Date: Sun, 29 Mar 2015 07:35:19 +0000 (+0000) Subject: build: make postinst/prerm scripts executable X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=61dd3c80134845c4aabbe1737d30418d67d0a2de;p=openwrt%2Fstaging%2Fyousong.git build: make postinst/prerm scripts executable Signed-off-by: Felix Fietkau SVN-Revision: 45128 --- 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) \ )