The Autopackage API

Table of Contents / Public library / Miscellaneous functions

Miscellaneous functions

Functions in this category

updateEnv<VARIABLE> <PATH> [--append]


Details

updateEnv
Syntax: updateEnv <VARIABLE> <PATH> [--append]
Prepends a path to an environment variable and add a command in the logfile to remove it if needed at uninstall.
VARIABLE: The environment variable to set.
PATH: The path to add to it.
--append: Append the value to the variable instead of prepending it.


Last update: 27/3/2003