Core 168: Remove pakfire metadata for krb5 and libtiff.
Commit Message
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 | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
@@ -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