]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
Delete old package,core and serverlist at update
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 5 Jul 2008 17:35:19 +0000 (19:35 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 5 Jul 2008 17:35:19 +0000 (19:35 +0200)
config/rootfiles/updater/update.sh

index 526e89d2579c7bc560bd3557d2cdbfe632467d9e..34f29367f10698b909ed2e55d77e7b9aadeadb2d 100755 (executable)
@@ -100,6 +100,10 @@ mkinitcpio -k $KVER-ipfire-smp -g /boot/ipfirerd-$KVER-smp.img
 #
 sed -i "s|$OLDVERSION|$NEWVERSION|g" /opt/pakfire/etc/pakfire.conf
 #
+# Delete lists of the old version
+#
+rm -f /opt/pakfire/db/lists/*list.db
+#
 # Create new issue
 #
 echo IPFire v$NEWVERSION - www.ipfire.org > /etc/issue