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>
/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