Core 168: Remove pakfire metadata for krb5 and libtiff.

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>
This commit is contained in:
Stefan Schantl
2022-05-15 18:08:41 +02:00
parent 9c5f467dcf
commit b7273366c4

View 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