]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Change parameter order of tar for core28 backup
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 5 Apr 2009 10:05:00 +0000 (12:05 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 5 Apr 2009 10:05:00 +0000 (12:05 +0200)
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 ...