]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Merge branch 'next' of ssh://git.ipfire.org/pub/git/ipfire-2.x into next
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 21 Jun 2022 07:41:04 +0000 (09:41 +0200)
committerStefan Schantl <stefan.schantl@ipfire.org>
Tue, 21 Jun 2022 07:41:04 +0000 (09:41 +0200)
config/rootfiles/oldcore/168/update.sh

index 6bb081ff28d2ce54384e6509752a80a470a1a0ba..418c4939958d6afd735d69e1ddd321d66c4822d5 100644 (file)
@@ -143,6 +143,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