From: Arne Fitzenreiter Date: Sat, 26 Jun 2010 06:36:51 +0000 (+0200) Subject: core38 updater: exclude squid cache from backup. X-Git-Tag: v2.9-beta1~182 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=87af024ad669762590aa190035ccda0d98acddda core38 updater: exclude squid cache from backup. --- diff --git a/config/rootfiles/core/38/update.sh b/config/rootfiles/core/38/update.sh index 1c65373fc6..dc643fe56a 100644 --- a/config/rootfiles/core/38/update.sh +++ b/config/rootfiles/core/38/update.sh @@ -61,6 +61,9 @@ echo boot >> /opt/pakfire/tmp/ROOTFILES echo etc/sysconfig/lm_sensors >> /opt/pakfire/tmp/ROOTFILES echo usr/lib/ipsec >> /opt/pakfire/tmp/ROOTFILES echo usr/libexec/ipsec >> /opt/pakfire/tmp/ROOTFILES +# exclude squid cache from backup +sed -i -e "s|^var/log/cache|#var/log/cache|g" /opt/pakfire/tmp/ROOTFILES +# Backup the files tar cjvf /var/ipfire/backup/core-upgrade_$KVER.tar.bz2 \ -C / -T /opt/pakfire/tmp/ROOTFILES --exclude='#*' > /dev/null 2>&1