public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, master, updated. c30403504255320cfc6301907d3c997e812b90e2
@ 2021-06-28 17:33 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2021-06-28 17:33 UTC (permalink / raw)
  To: ipfire-scm

[-- Attachment #1: Type: text/plain, Size: 1953 bytes --]

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, master has been updated
       via  c30403504255320cfc6301907d3c997e812b90e2 (commit)
      from  f38464e9fd218adaafa0995f09998dfb62576b18 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c30403504255320cfc6301907d3c997e812b90e2
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Mon Jun 28 17:32:52 2021 +0000

    core158: Uninstall all dropped add-ons
    
    Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 config/rootfiles/core/158/update.sh | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Difference in files:
diff --git a/config/rootfiles/core/158/update.sh b/config/rootfiles/core/158/update.sh
index b8ff724f5..bce1ace0b 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 $(</opt/pakfire/db/rootfiles/${package}); do
+			rm -rfv "/${i}"
+		done
+        fi
+        rm -f "/opt/pakfire/db/installed/meta-${package}"
+        rm -f "/opt/pakfire/db/meta/meta-${package}"
+        rm -f "/opt/pakfire/db/rootfiles/${package}"
+done
+
 # Extract files
 extract_files
 


hooks/post-receive
--
IPFire 2.x development tree

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-28 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-28 17:33 [git.ipfire.org] IPFire 2.x development tree branch, master, updated. c30403504255320cfc6301907d3c997e812b90e2 Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox