Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion binscripts/gvm-installer
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ if [ -z "$GVM_NO_UPDATE_PROFILE" ] ; then
fi
fi

if [ -z "$GVM_NO_UPDATE_PROFILE" ] && [ "$?" != "0" ]; then
# check $? first, otherwise may ref the test condition
if [ "$?" != "0" ] && [ -z "$GVM_NO_UPDATE_PROFILE" ]; then
echo "Unable to locate profile settings file(Something like $HOME/.bashrc or $HOME/.bash_profile)"
echo
echo " You will have to manually add the following line:"
Expand Down