Fix core updater 45-48 to remove only old core updates from cache.

Conflicts:

	config/rootfiles/core/48/update.sh
This commit is contained in:
Arne Fitzenreiter
2011-02-26 19:13:37 +01:00
parent 52e457d501
commit 0449b50f89
3 changed files with 21 additions and 6 deletions

View File

@@ -25,8 +25,13 @@
/usr/local/bin/backupctrl exclude >/dev/null 2>&1 /usr/local/bin/backupctrl exclude >/dev/null 2>&1
# #
# Remove core updates from pakfire cache to save space... # Remove old core updates from pakfire cache to save space...
rm -f /var/cache/pakfire/core-upgrade-*.ipfire core=45
for (( i=1; i<=$core; i++ ))
do
rm -f /var/cache/pakfire/core-upgrade-$i.ipfire
done
# #
#Stop services #Stop services
echo Stopping Proxy echo Stopping Proxy

View File

@@ -25,8 +25,13 @@
/usr/local/bin/backupctrl exclude >/dev/null 2>&1 /usr/local/bin/backupctrl exclude >/dev/null 2>&1
# #
# Remove core updates from pakfire cache to save space... # Remove old core updates from pakfire cache to save space...
rm -f /var/cache/pakfire/core-upgrade-*.ipfire core=46
for (( i=1; i<=$core; i++ ))
do
rm -f /var/cache/pakfire/core-upgrade-$i.ipfire
done
# #
#Stop services #Stop services

View File

@@ -25,8 +25,13 @@
/usr/local/bin/backupctrl exclude >/dev/null 2>&1 /usr/local/bin/backupctrl exclude >/dev/null 2>&1
# #
# Remove core updates from pakfire cache to save space... # Remove old core updates from pakfire cache to save space...
rm -f /var/cache/pakfire/core-upgrade-*.ipfire core=47
for (( i=1; i<=$core; i++ ))
do
rm -f /var/cache/pakfire/core-upgrade-$i.ipfire
done
# #
#Stop services #Stop services