23 lines
590 B
Bash
23 lines
590 B
Bash
# unset variable if exists
|
|
unset ANTOS_USER
|
|
unset ANTOS_PASSWORD
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
if [ -d "$HOME/bin" ] ; then
|
|
export PATH="$HOME/bin:$PATH"
|
|
fi
|
|
|
|
# set PATH so it includes user's private bin if it exists
|
|
if [ -d "$HOME/.local/bin" ] ; then
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
fi
|
|
|
|
# set user private LIB search path
|
|
if [ -d "$HOME/lib" ] ; then
|
|
export LD_LIBRARY_PATH="$HOME/lib:$LD_LIBRARY_PATH"
|
|
fi
|
|
|
|
# set user private LIB search path
|
|
if [ -d "$HOME/.local/lib" ] ; then
|
|
export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH"
|
|
fi |