Bug#699647: proftpd-mod-geoip: /usr/lib/proftpd/mod_geoip.so missing after upgrade from sid
Salvatore Bonaccorso
carnil at debian.org
Sun Jan 26 07:01:36 UTC 2014
Hi Andreas,
On Sun, Jan 26, 2014 at 04:04:38AM +0100, Andreas Beckmann wrote:
> +if [ "$1" = "install" ] || [ "$1" = "upgrade" ]
> +then
> + if dpkg --compare-versions "$2" lt-nl "0.3-1+deb7u1"
> + then
> + rm -fv $(dpkg-query --control-path proftpd-mod-geoip postrm)
> + fi
> +fi
> +
> +#DEBHELPER#
I noticed in current dpkg-query manpage it says:
-c, --control-path package-name [control-file]
List paths for control files installed to your system from
package-name. If control-file is specified then only
list the path for that control file if it is present.
Warning: this command is deprecated, please switch to use
--control-list and --control-show instead.
But don't know how to better get to the maintainer script to be
removed. --control-list only shows the control files installed by the
package.
Regards,
Salvatore
More information about the Pkg-proftpd-maintainers
mailing list