Fix core_list.db not found while updating

Made pakfire update --force after update
Removed the "beta2" marking (now again "test")
This commit is contained in:
Arne Fitzenreiter
2008-07-29 16:20:25 +02:00
parent 4ea7607df6
commit 02663e5e8f
2 changed files with 2 additions and 5 deletions

View File

@@ -100,10 +100,6 @@ 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
@@ -124,6 +120,7 @@ echo 'while [ "$(ps -A | grep " pakfire")" != "" ]; do' >> /tmp/remove_obsolet
echo ' sleep 2' >> /tmp/remove_obsolete_paks
echo 'done' >> /tmp/remove_obsolete_paks
echo '/opt/pakfire/pakfire remove zaptel -y' >> /tmp/remove_obsolete_paks
echo '/opt/pakfire/pakfire update --force' >> /tmp/remove_obsolete_paks
echo 'echo' >> /tmp/remove_obsolete_paks
echo 'echo Update to IPFire $NEWVERSION finished. Please reboot... ' >> /tmp/remove_obsolete_paks
echo 'echo' >> /tmp/remove_obsolete_paks