]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Core 168: Remove pakfire metadata for krb5 and libtiff.
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 15 May 2022 16:08:41 +0000 (18:08 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Sun, 15 May 2022 16:08:41 +0000 (18:08 +0200)
Both packages have become part of the core system, so these files
are not longer needed.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
config/rootfiles/core/168/update.sh

index e11e08b7f73936507128688559235444b132b339..283cb10987ccf42aa6302876f5f5f9b79f307bb1 100644 (file)
@@ -133,6 +133,22 @@ if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then
        /etc/init.d/ipsec start
 fi
 
+# krb5 is now part of the core system, remove Pakfire metadata for it
+if [ -e "/opt/pakfire/db/installed/meta-krb5" ] && [ -e "/opt/pakfire/db/meta/meta-krb5" ]; then
+       rm -vf \
+               /opt/pakfire/db/installed/meta-krb5 \
+               /opt/pakfire/db/meta/meta-krb5 \
+               /opt/pakfire/db/rootfiles/krb5
+fi
+
+# libtiff is now part of the core system, remove Pakfire metadata for it
+if [ -e "/opt/pakfire/db/installed/meta-libtiff" ] && [ -e "/opt/pakfire/db/meta/meta-libtiff" ]; then
+       rm -vf \
+               /opt/pakfire/db/installed/meta-libtiff \
+               /opt/pakfire/db/meta/meta-libtiff \
+               /opt/pakfire/db/rootfiles/libtiff
+fi
+
 # This update needs a reboot...
 touch /var/run/need_reboot