On Sat, 05 Jan 2013 15:08:25 +0000, Dominic Hargreaves wrote: > On Mon, Apr 04, 2011 at 02:39:06PM +0200, David Cho-Lerat wrote: > > libapache2-mod-perl2.postinst says : > > > > if [ "$1" = "configure" ] && [ -z "$2" ]; then > > a2enmod perl || true > > fi > > > > so if one removes (without purging) the package and then > > re-installs it with the same version, $2 is not empty - > > hence "a2enmod perl" is not be called, and mod_perl is > > not automatically re-enabled. > > I agree that this is a bug. > > > I suggest that > > > > && [ -z "$2" ] > > > > be removed, as "a2enmod perl || true" should be called > > in any case. > > But I don't agree with this fix, as it will cause upgrades to always > enable the module, even if was previously disabled by the system > administrator. I don't see OTTOMH what the correct fix is, although I > expect that it will be easily discovered by looking at similar postinst > scripts.
Maybe something like what Andreas proposed in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=688435#27 Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Uriah Heep: July Morning
signature.asc
Description: Digital signature

