It is not a nice user experience when a package changes configuration
files during an upgrade. Remove this from the postinstall routine.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
PKG_NAME:=restund
PKG_VERSION:=0.4.12
-PKG_RELEASE:=5
+PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.creytiv.com/pub
#!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then
chown $(PKG_NAME):$(PKG_NAME) /etc/restund.conf
-
- # Prevent $(PKG_NAME) from auto-starting after an upgrade. The modules may
- # not be upgraded yet and the user configuration may need a revision.
- sed -i '/^ENABLE_RESTUND="yes"/s/^/#/' \
- /etc/default/$(PKG_NAME)
fi
exit 0
endef