summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Kemper <sebastian_ml@gmx.net>2019-04-21 15:17:29 +0200
committerSebastian Kemper <sebastian_ml@gmx.net>2019-04-21 15:17:38 +0200
commit0eb77950802bc38bbf92c773927508a39ff309bb (patch)
treedd6dde799079a6a58ec5153fd741e945a6bac5f2
parentf45be8a15499d7b67fcec46a6e448702722ca017 (diff)
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 <sebastian_ml@gmx.net>
-rw-r--r--net/baresip/Makefile5
1 files changed, 0 insertions, 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