build: make postinst/prerm scripts executable

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45128
This commit is contained in:
Felix Fietkau 2015-03-29 07:35:19 +00:00
parent 7002f6326e
commit 61dd3c8013

View 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) \
)