]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/rootfiles/core/28/update.sh
Change parameter order of tar for core28 backup
[people/pmueller/ipfire-2.x.git] / config / rootfiles / core / 28 / update.sh
index a66d6704085dca6bf564c18e2c11a8eae0a1c75d..347d197796ca19792402b5721f116166994e2a72 100755 (executable)
@@ -50,7 +50,7 @@ echo opt/pakfire/etc/pakfire.conf >> /opt/pakfire/tmp/ROOTFILES
 echo etc/sysconfig/lm_sensors >> /opt/pakfire/tmp/ROOTFILES
 #
 tar cjvf /var/ipfire/backup/core-upgrade_$KVER.tar.bz2 \
-   -T /opt/pakfire/tmp/ROOTFILES --exclude='#*' -C / > /dev/null 2>&1
+    -C / -T /opt/pakfire/tmp/ROOTFILES --exclude='#*' > /dev/null 2>&1
 echo
 echo Update IPfire to $NEWVERSION ...
 # Remove old kernel, configs, initrd, modules ...