]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - config/rootfiles/core/28/update.sh
Set Version to 2.5beta1
[people/pmueller/ipfire-2.x.git] / config / rootfiles / core / 28 / update.sh
index a66d6704085dca6bf564c18e2c11a8eae0a1c75d..3268cd3e66b8d2e247fb0f7c3ddfac52bb8ca078 100755 (executable)
@@ -25,7 +25,7 @@
 /usr/local/bin/backupctrl exclude >/dev/null 2>&1
 #
 OLDVERSION=`grep "version = " /opt/pakfire/etc/pakfire.conf | cut -d'"' -f2`
-NEWVERSION="2.3"
+NEWVERSION="2.5"
 #
 KVER="2.6.27.21"
 ROOT=`grep "root=" /boot/grub/grub.conf | cut -d"=" -f2 | cut -d" " -f1 | tail -n 1`
@@ -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 ...
@@ -122,7 +122,7 @@ sed -i "s|$OLDVERSION|$NEWVERSION|g" /opt/pakfire/etc/pakfire.conf
 #
 # Create new issue
 #
-echo IPFire v$NEWVERSION - www.ipfire.org > /etc/issue
+echo IPFire v$NEWVERSION beta1 - www.ipfire.org > /etc/issue
 echo =================================== >> /etc/issue
 echo \\n running on \\s \\r \\m >> /etc/issue
 #