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

-- 
Rename /etc/X11/Xsession.d/60x11-localhost to match convention
https://bugs.launchpad.net/bugs/340807
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to