mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 03:25:54 +02:00
core119: Remove dropped lcr package during update
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -42,6 +42,16 @@ ldconfig
|
||||
# Update Language cache
|
||||
/usr/local/bin/update-lang-cache
|
||||
|
||||
# remove dropped packages
|
||||
for package in lcr; do
|
||||
if [ -e /opt/pakfire/db/installed/meta-$package ]; then
|
||||
pakfire remove -y $package
|
||||
fi
|
||||
rm -f /opt/pakfire/db/installed/meta-$package
|
||||
rm -f /opt/pakfire/db/meta/meta-$package
|
||||
rm -f /opt/pakfire/db/rootfiles/$package
|
||||
done
|
||||
|
||||
# Start services
|
||||
|
||||
# This update need a reboot...
|
||||
|
||||
Reference in New Issue
Block a user