From: Peter Müller Date: Sat, 3 Dec 2022 10:57:18 +0000 (+0100) Subject: Core Update 172: Extract files before removing any X-Git-Tag: v2.27-core172~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eb9e29f9a742d5472180371b99c2e17b966852f1;p=ipfire-2.x.git Core Update 172: Extract files before removing any Note to self: Also do this in further Core Updates. Suggested-by: Michael Tremer Signed-off-by: Peter Müller --- diff --git a/config/rootfiles/core/172/update.sh b/config/rootfiles/core/172/update.sh index 3c751d6e0c..d66156f16b 100644 --- a/config/rootfiles/core/172/update.sh +++ b/config/rootfiles/core/172/update.sh @@ -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