OK, seems I still managed to overlook some things, and there are some
new issues:

 * The grep and thus the postinst will fail if 'environment' does not exist.
 * stylistic: IMHO this would be easier to read: if ! grep -q "^R_HOME" 
/etc/postgresql/$cluster/environment
 * The postrm should do cleanup only on "purge", not on the other actions; in 
particular, doing it on "upgrade" is actively wrong.

Please see http://www.debian.org/doc/debian-policy/ch-
maintainerscripts.html for details.

Thanks for bearing with me!

-- 
R_HOME environmental variable not set
https://bugs.launchpad.net/bugs/130059
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to