[php-maint] Bug#690409: php5-xcache: upgrades clobber local changes to xcache.ini

Ondřej Surý ondrej at debian.org
Wed Oct 31 16:35:40 UTC 2012


> On my test system, after upgrading from Squeeze to Wheezy, I have both
> the old configuration file and the new one in /etc/php5/conf.d/:
>
>   10-pdo.ini -> ../mods-available/pdo.ini
>   20-xcache.ini -> ../mods-available/xcache.ini
>   xcache.ini

I guess this needs:

	dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile}
${inidir}/${inifile} <LAST_VERSION> -- "$@";

instead of just installing new conf file.

O.
-- 
Ondřej Surý <ondrej at sury.org>



More information about the pkg-php-maint mailing list