mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 01:38:25 +02:00
Core Update 166: Drop Pakfire metadata for Nano, which is now part of the core system
Cc: Michael Tremer <michael.tremer@ipfire.org> Cc: Jon Murphy <jon.murphy@ipfire.org> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user