From: Arne Fitzenreiter Date: Sat, 5 Jul 2008 17:35:19 +0000 (+0200) Subject: Delete old package,core and serverlist at update X-Git-Tag: v2.3-beta1~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d16bd7890cac8056a9c42b4913fc8c24ab83b28c;p=ipfire-2.x.git Delete old package,core and serverlist at update --- diff --git a/config/rootfiles/updater/update.sh b/config/rootfiles/updater/update.sh index 526e89d257..34f29367f1 100755 --- a/config/rootfiles/updater/update.sh +++ b/config/rootfiles/updater/update.sh @@ -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