From: Michael Tremer Date: Mon, 28 Jun 2021 17:32:52 +0000 (+0000) Subject: core158: Uninstall all dropped add-ons X-Git-Tag: v2.25-core158~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c30403504255320cfc6301907d3c997e812b90e2;p=ipfire-2.x.git core158: Uninstall all dropped add-ons Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/core/158/update.sh b/config/rootfiles/core/158/update.sh index b8ff724f54..bce1ace0b3 100644 --- a/config/rootfiles/core/158/update.sh +++ b/config/rootfiles/core/158/update.sh @@ -47,6 +47,20 @@ rm -vrf \ # Stop services +# Remove dropped packages +for package in asterisk libsrtp monit libmicrohttpd sane fbset miniupnpd \ + sendEmail libupnp lcd4linux dpfhack; do + if [ -e "/opt/pakfire/db/installed/meta-${package}" ]; then + stop_service "${package}" + for i in $(