Core Update 169: 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>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2022-06-17 16:29:55 +00:00
parent 9aa2c4cc29
commit 3356af4e5c

View File

@@ -154,6 +154,22 @@ telinit u
/etc/init.d/unbound start
/etc/init.d/squid start
# 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