Skip to content

Commit

Permalink
Updated install message for && return. Thanks to panaggio.
Browse files Browse the repository at this point in the history
  • Loading branch information
wayneeseguin committed May 12, 2010
1 parent b37ad15 commit 93cf491
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install
Expand Up @@ -281,8 +281,8 @@ else
fi
if [[ -s $HOME/.bashrc ]] && grep '&& return' $HOME/.bashrc ; then
echo -e "\n\nWARNING: you have a 'return' statement in your .bashrc, likely this will cause untold havoc.
This means that if you see '[ -z "$PS1" ] && return' then you must change this line to:
if [[ ! -z "$PS1" ]] ; then
This means that if you see '[ -z "\$PS1" ] && return' then you must change this line to:
if [[ -n "\$PS1" ]] ; then
... original content that was below the && return line ...
fi # <= be sure to close the if.
#EOF .bashrc
Expand Down

0 comments on commit 93cf491

Please sign in to comment.