fix(gcloud): add location of latest snap install (#11502)

Latest snap installs gcloud at /snap/google-cloud-cli, so add that to
the list of possible locations.
This commit is contained in:
Juan Antonio Ramírez 2023-02-17 03:09:00 -04:00 committed by GitHub
parent 8a68bf6772
commit 25368f9a65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ if [[ -z "${CLOUDSDK_HOME}" ]]; then
"/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk" "/opt/homebrew/Caskroom/google-cloud-sdk/latest/google-cloud-sdk"
"/usr/share/google-cloud-sdk" "/usr/share/google-cloud-sdk"
"/snap/google-cloud-sdk/current" "/snap/google-cloud-sdk/current"
"/snap/google-cloud-cli/current"
"/usr/lib/google-cloud-sdk" "/usr/lib/google-cloud-sdk"
"/usr/lib64/google-cloud-sdk" "/usr/lib64/google-cloud-sdk"
"/opt/google-cloud-sdk" "/opt/google-cloud-sdk"