mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Core Update 172: Extract files before removing any
Note to self: Also do this in further Core Updates. Suggested-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
@@ -46,6 +46,12 @@ if [ -e /boot/uEnv.txt ]; then
|
||||
cp -vf /boot/uEnv.txt /boot/uEnv.txt.org
|
||||
fi
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
|
||||
# update linker config
|
||||
ldconfig
|
||||
|
||||
# Remove files
|
||||
rm -rvf \
|
||||
/etc/pcmcia \
|
||||
@@ -136,12 +142,6 @@ for addon in gnu-netcat powertop; do
|
||||
/opt/pakfire/db/rootfiles/${addon}
|
||||
done
|
||||
|
||||
# Extract files
|
||||
extract_files
|
||||
|
||||
# update linker config
|
||||
ldconfig
|
||||
|
||||
# Update Language cache
|
||||
/usr/local/bin/update-lang-cache
|
||||
|
||||
|
||||
Reference in New Issue
Block a user