Skip to content

Commit

Permalink
+ Fixed issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vvbv committed Jul 2, 2018
1 parent 9d27a1a commit 08fa998
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ echo "Use root to install"
echo "-------------------"
echo "Please enter your home folder name:"
read -p "/home/" username
if [ ! -d "/home/"$username"/.macvendors" ]; then
if [ ! -d "/home/$username/.macvendors" ]; then
mkdir /home/$username/.macvendors
return_code=$?
if [ $return_code != "0" ]; then
echo "[ Error ]: /home/"$username" is an invalid location."
echo "[ Error ]: /home/$username is an invalid location."
exit
fi
fi
Expand Down

0 comments on commit 08fa998

Please sign in to comment.