Skip to content

Commit

Permalink
fix profile path
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Oehrli committed Jan 18, 2021
1 parent ccba10f commit b1f1af2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions local/oudbase/bin/oudbase_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,10 @@ fi

# append to the profile....
if [ "${APPEND_PROFILE}" = "TRUE" ]; then
if [ -f "~/.bash_profile" ]; then
PROFILE="~/.bash_profile"
elif [ -f "~/.profile" ]; then
PROFILE="~/.profile"
if [ -f "$HOME/.bash_profile" ]; then
PROFILE="$HOME/.bash_profile"
elif [ -f "$HOME/.profile" ]; then
PROFILE="$HOME/.profile"
else
CleanAndQuit 20
fi
Expand Down

0 comments on commit b1f1af2

Please sign in to comment.