> On my system dpkg --compare-versions "" lt-nl "0.8" is false so it would seem the code is also not run on fresh installs
It does run on fresh installs. You're getting confused between a 0 return code, which means the command succeeded and the condition passes, and false. In most other languages, 0 would be false, but not in a bash script, where a 0 return code means it succeeded :) Good point about dpkg-reconfigure. I'll work on a debdiff with the patches you listed. Out of interest, how much work do you think it would be to upgrade the package to the latest 0.8 release? We have another couple of years left with precise as a supported release, and I'd like to keep this package as close to upstream as possible. Should the 0.8 branch apply pretty cleanly? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1350778 Title: Upgrading nslcd on precise rewrites /etc/nslcd.conf, leaving users with unusable systems To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/nss-pam-ldapd/+bug/1350778/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs