From: nbd Date: Sun, 29 Mar 2015 07:35:19 +0000 (+0000) Subject: build: make postinst/prerm scripts executable X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=b8f881a20eb0c839a0f949e5a16e92b8d78eb3d1;p=openwrt.git build: make postinst/prerm scripts executable Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45128 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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) \ )