rm -vf "$file"
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 \
+ /etc/php4/apache2/php.ini \
+ /etc/apache/modules.conf
+ do
+ config_backup=$config.$backup_ext
+ if [ -e $config -a ! -e $config_backup ]; then
+ cp -av $config $config_backup
+ ucf $config_backup $config
+ fi
+ done
}
# temporary disable listchanges packages to reduce clutter during upgrade
eval apt-get --yes remove $delpkg
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 \
- /etc/php4/apache2/php.ini \
- /etc/apache/modules.conf
- do
- config_backup=$config.$backup_ext
- if [ ! -e $config_backup ]; then
- cp -av $config $config_backup
- ucf $config_backup $config
- fi
- done
-
# remove old apache
pkgrm apache apache-common