Comment 6 for bug 340807

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

use remove_conffile_commit as used in x11-common.postinst.in (sorry, was wrong when suggested postrm.in), add a new rule after the current one with correct versions. Something like this:

if dpkg --compare-versions "$2" lt-nl "1:7.4~5ubuntu16"; then
  remove_conffile_commit "/etc/X11/Xsession.d/60x11-localhost"
fi