From 0eb77950802bc38bbf92c773927508a39ff309bb Mon Sep 17 00:00:00 2001 From: Sebastian Kemper Date: Sun, 21 Apr 2019 15:17:29 +0200 Subject: [PATCH] baresip: do not disable on upgrade 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 --- net/baresip/Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/net/baresip/Makefile b/net/baresip/Makefile index af2e4c8..68ce376 100644 --- a/net/baresip/Makefile +++ b/net/baresip/Makefile @@ -146,11 +146,6 @@ if [ -z "$${IPKG_INSTROOT}" ]; then /etc/baresip/accounts \ /etc/baresip/config \ /etc/baresip/contacts - - # 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_BARESIP="yes"/s/^/#/' \ - /etc/default/$(PKG_NAME) fi exit 0 endef -- 2.30.2