From f1269489e8b6963f781cb02b37ce7ba3357b5560 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Mon, 21 Mar 2022 19:10:06 +0000 Subject: [PATCH] Core Update 166: Drop Pakfire metadata for Nano, which is now part of the core system MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Cc: Michael Tremer Cc: Jon Murphy Signed-off-by: Peter Müller --- config/rootfiles/core/166/update.sh | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5