From: Peter Müller Date: Mon, 21 Mar 2022 19:10:06 +0000 (+0000) Subject: Core Update 166: Drop Pakfire metadata for Nano, which is now part of the core system X-Git-Tag: v2.27-core167~6^2~109 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1269489e8b6963f781cb02b37ce7ba3357b5560;p=ipfire-2.x.git Core Update 166: Drop Pakfire metadata for Nano, which is now part of the core system Cc: Michael Tremer Cc: Jon Murphy Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/166/update.sh b/config/rootfiles/core/166/update.sh index 4c1c1e483a..61f4893c78 100644 --- a/config/rootfiles/core/166/update.sh +++ b/config/rootfiles/core/166/update.sh @@ -74,6 +74,14 @@ if grep -q "ENABLED=on" /var/ipfire/vpn/settings; then /etc/init.d/ipsec start fi +# Nano is now part of the core system, remove Pakfire metadata for it +if [ -e "/opt/pakfire/db/installed/meta-nano" ] && [ -e "/opt/pakfire/db/meta/meta-nano" ]; then + rm -vf \ + /opt/pakfire/db/installed/meta-nano \ + /opt/pakfire/db/meta/meta-nano \ + /opt/pakfire/db/rootfiles/nano +fi + # This update needs a reboot... touch /var/run/need_reboot