mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-18 09:22:17 +00:00
Accidently left warning message commented out :(
This commit is contained in:
parent
824745dfbc
commit
2155657651
1 changed files with 4 additions and 4 deletions
|
@ -3,10 +3,10 @@ METADATA=http://metadata.google.internal./computeMetadata/v1
|
||||||
SVC_ACCT=$METADATA/instance/service-accounts/default
|
SVC_ACCT=$METADATA/instance/service-accounts/default
|
||||||
PROJECT_URL=$METADATA/project/project-id
|
PROJECT_URL=$METADATA/project/project-id
|
||||||
ACCESS_TOKEN=$(curl -s -H 'Metadata-Flavor: Google' $SVC_ACCT/token | cut -d'"' -f 4)
|
ACCESS_TOKEN=$(curl -s -H 'Metadata-Flavor: Google' $SVC_ACCT/token | cut -d'"' -f 4)
|
||||||
#if [ -z "$ACCESS_TOKEN" ]; then
|
if [ -z "$ACCESS_TOKEN" ]; then
|
||||||
# echo "No acccess token to download texlive-full images from google container, continuing without downloading. This is likely not a google cloud enviroment."
|
echo "No acccess token to download texlive-full images from google container, continuing without downloading. This is likely not a google cloud enviroment."
|
||||||
# exit 0
|
exit 0
|
||||||
#fi
|
fi
|
||||||
PROJECT=$(curl -s -H 'Metadata-Flavor: Google' $PROJECT_URL)
|
PROJECT=$(curl -s -H 'Metadata-Flavor: Google' $PROJECT_URL)
|
||||||
if [ -z "$PROJECT" ]; then
|
if [ -z "$PROJECT" ]; then
|
||||||
echo "No project name to download texlive-full images from google container, continuing without downloading. This is likely not a google cloud enviroment."
|
echo "No project name to download texlive-full images from google container, continuing without downloading. This is likely not a google cloud enviroment."
|
||||||
|
|
Loading…
Reference in a new issue