From 262192f653782bd8f2d51ade2245fc9bfaddc141 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Fri, 7 Mar 2008 14:29:06 +0100 Subject: [PATCH] Added clamav files to ucf handling. --- src/functions.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -- 1.7.10.4