Hi,

>However, after reading the manpage for dh_installdeb [4] (more
>specifically, the section `package.maintscript', I changed my mind and
>added lines such as:
>
>  rm_conffile /etc/bash_completion.d/harbour 1:2.8-5~
>
>So...  Is that the right thing to do?  I.e. regardless of the version
>at which a conffile was removed, I should use the current release
>version in `rm_conffile' calls?

This is explicitly answered in [3] under prior-version:

If the conffile has not been shipped for several versions, and you are now 
modifying the maintainer scripts to clean up the obsolete file, prior-version 
should be based on the version of the package that you are now preparing, not 
the first version of the package that lacked the conffile. This applies to all 
other actions in the same way. 

-nik

>[3]
>https://manpages.debian.org/unstable/dpkg/dpkg-maintscript-helper.1.en.html

Reply via email to