From 87af024ad669762590aa190035ccda0d98acddda Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 26 Jun 2010 08:36:51 +0200 Subject: [PATCH] core38 updater: exclude squid cache from backup. --- config/rootfiles/core/38/update.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2