[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#736698: pu: package proftpd-mod-geoip/0.3-1+deb7u1



Control: tags -1 + confirmed

On 2014-01-26 3:49, Andreas Beckmann wrote:
proftpd-mod-geoip contains a broken postrm script that deletes a file
on upgrades after the new package has been unpacked. #726742

This can be triggered by either upgrades from wheezy to jessie or simply
in wheezy by the sequence

  install proftpd-mod-geoip
  remove (but don't purge) proftpd-mod-geoip
  install proftpd-mod-geoip

The proposed fix is to add a preinst script that deletes the broken
script *before* the new package gets unpacked.
Deleting is a safe solution because this is the only command in the
file, the #DEBHELPER# token was expanded to the empty string.

Please go ahead; thanks.

Regards,

Adam


Reply to: