diff --git a/pimpmykali.sh b/pimpmykali.sh index d4d5579..c2e567b 100755 --- a/pimpmykali.sh +++ b/pimpmykali.sh @@ -503,7 +503,7 @@ fix_theharvester () { } fix_golang () { - section="golang" + section="golang" #check this golang or golang-go? check=$(whereis go | grep -i -c "/usr/bin/go") fix_section $section $check $force fix_go_path @@ -534,7 +534,7 @@ fix_go_path() { fi else check_user_zshrc=$(cat /home/$findrealuser/.zshrc | grep -c GOPATH) - [ -d /home/$findrealuser/go ] && echo -e "\n $greenminus go directories already exist in /home/$finduser" || echo -e "\n creating directories /home/$findrealuser/go /home/$findrealuser/go/bin /home/$findrealuser/go/src"; mkdir -p /home/$findrealuser/go/{bin,src} + [ -d /home/$findrealuser/go ] && echo -e "\n $greenminus go directories already exist in /home/$finduser" || echo -e "\n $greenplus creating directories /home/$findrealuser/go /home/$findrealuser/go/bin /home/$findrealuser/go/src"; mkdir -p /home/$findrealuser/go/{bin,src} if [ $check_user_zshrc -ne 0 ] then echo -e "\n $redminus GOPATH Variables for user $findrealuser already exist in /home/$findrealuser/.zshrc - Not Changing"