]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Core Update 172: Extract files before removing any
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 3 Dec 2022 10:57:18 +0000 (11:57 +0100)
committerPeter Müller <peter.mueller@ipfire.org>
Sat, 3 Dec 2022 10:57:18 +0000 (11:57 +0100)
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>
config/rootfiles/core/172/update.sh

index 3c751d6e0cc11f63d1f50d7341ddc0d0525ae558..d66156f16bf8ed29dbd3c42f13f751916e2842a8 100644 (file)
@@ -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