Skip to content

Commit

Permalink
Simplify finding go
Browse files Browse the repository at this point in the history
Signed-off-by: Ulincsys <ulincsys@gmail.com>
  • Loading branch information
Ulincsys committed Sep 4, 2024
1 parent 47df77d commit 29221ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install/workers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ do

done

if [ -f "/usr/local/go/bin/go" ] || [ -f "/usr/local/bin/go" ] || [ -f "/usr/bin/go" ] || [ -f "/snap/bin/go" ]; then
if [[ ! -z "$(which go)" ]]; then
echo "found go!"
else
echo "Installing go!"
Expand Down

0 comments on commit 29221ac

Please sign in to comment.