From: Valentin Vidic Date: Fri, 7 Mar 2008 13:29:06 +0000 (+0100) Subject: Added clamav files to ucf handling. X-Git-Tag: debian/4.0.1~29 X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=commitdiff_plain;h=262192f653782bd8f2d51ade2245fc9bfaddc141;p=carnet-upgrade.git Added clamav files to ucf handling. --- diff --git a/src/functions.sh b/src/functions.sh index 40378f9..68996bc 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -526,12 +526,14 @@ restore_configs () { done fi - # register cn changes in apache files - for config in /etc/php4/cgi/php.ini \ - /etc/php4/cli/php.ini \ - /etc/php4/apache/php.ini \ + # register cn changes in ucf managed files + for config in /etc/apache/modules.conf \ + /etc/clamav/clamd.conf \ + /etc/clamav/freshclam.conf \ /etc/php4/apache2/php.ini \ - /etc/apache/modules.conf + /etc/php4/apache/php.ini \ + /etc/php4/cgi/php.ini \ + /etc/php4/cli/php.ini do config_backup=$config.$backup_ext if [ -e $config -a ! -e $config_backup ]; then