From: Peter Müller Date: Fri, 17 Jun 2022 16:29:55 +0000 (+0000) Subject: Core Update 169: Remove pakfire metadata for krb5 and libtiff X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c4669041168fa6c8b20d4906c37813820969285;p=people%2Fms%2Fipfire-2.x.git 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 Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/169/update.sh b/config/rootfiles/core/169/update.sh index 966e23cdff..a27f20a304 100644 --- a/config/rootfiles/core/169/update.sh +++ b/config/rootfiles/core/169/update.sh @@ -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