Skip to content
Permalink
Browse files

fix postinst/postrm

  • Loading branch information...
zyxmon committed Mar 6, 2019
1 parent 6bbc7c3 commit 4edcf8a8f8b757decb3fd2d50a6da79d6150a6d3
Showing with 0 additions and 14 deletions.
  1. +0 −14 include/package-ipkg.mk
@@ -214,20 +214,6 @@ $(_endef)
printf "Description: "; echo "$$$$DESCRIPTION" | sed -e 's,^[[:space:]]*, ,g'; \
) > control; \
chmod 644 control; \
( \
echo "#!/bin/sh"; \
echo "[ \"\$$$${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; \
echo "[ -x "\$$$${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; \
echo ". \$$$${IPKG_INSTROOT}/lib/functions.sh"; \
echo "default_postinst \$$$$0 \$$$$@"; \
) > postinst; \
( \
echo "#!/bin/sh"; \
echo "[ -x "\$$$${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; \
echo ". \$$$${IPKG_INSTROOT}/lib/functions.sh"; \
echo "default_prerm \$$$$0 \$$$$@"; \
) > prerm; \
chmod 0755 postinst prerm; \
$($(1)_COMMANDS) \
)

0 comments on commit 4edcf8a

Please sign in to comment.
You can’t perform that action at this time.