Change parameter order of tar for core28 backup

This commit is contained in:
Arne Fitzenreiter
2009-04-05 12:05:00 +02:00
parent d1955482de
commit 41fdff18d3

View File

@@ -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 ...