From d16bd7890cac8056a9c42b4913fc8c24ab83b28c Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 5 Jul 2008 19:35:19 +0200 Subject: [PATCH] Delete old package,core and serverlist at update --- config/rootfiles/updater/update.sh | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5