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 -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org