Delete old package,core and serverlist at update

This commit is contained in:
Arne Fitzenreiter
2008-07-05 19:35:19 +02:00
parent cbf98a0088
commit d16bd7890c

View File

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