Remove core-updates from pakfire cache.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 22 Jan 2011 22:48:47 +0000 (23:48 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 22 Jan 2011 22:48:47 +0000 (23:48 +0100)
config/rootfiles/core/45/update.sh

index 80201c5..582bd82 100644 (file)
@@ -24,6 +24,9 @@
 . /opt/pakfire/lib/functions.sh
 /usr/local/bin/backupctrl exclude >/dev/null 2>&1
 
+#
+# Remove core updates from pakfire cache to save space...
+rm -f /var/cache/pakfire core-upgrade-*.ipfire
 #
 #Stop services
 echo Stopping Proxy