thanks, this already looks better. Still some issues:
* The postinst loop does not check whether R_HOME is already set. So every installation or upgrade of plr would add another R_HOME to the file, and this would even override an admin's setting which points to somewhere else.
* The postrm loop will fail and bail out if the environment file does not exist (which is legitimate).
Luca,
thanks, this already looks better. Still some issues:
* The postinst loop does not check whether R_HOME is already set. So every installation or upgrade of plr would add another R_HOME to the file, and this would even override an admin's setting which points to somewhere else.
* The postrm loop will fail and bail out if the environment file does not exist (which is legitimate).