build: make postinst/prerm scripts executable

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

SVN-Revision: 45128
master
Felix Fietkau 10 years ago
parent 7002f6326e
commit 61dd3c8013
  1. 2
      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) \
)

Loading…
Cancel
Save