build: make postinst/prerm scripts executable
authorFelix Fietkau <nbd@openwrt.org>
Sun, 29 Mar 2015 07:35:19 +0000 (07:35 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 29 Mar 2015 07:35:19 +0000 (07:35 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45128

include/package-ipkg.mk

index b7dc0ad1e8071e50f7a83e6db8a67c275f65b186..5ea39e1b06edbf8393b93c8ea992fbbecf9012bb 100644 (file)
@@ -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) \
        )