Update install.sh

This commit is contained in:
Mr Chen
2018-12-24 11:37:35 +08:00
parent 9ee09b0e7d
commit 6c864177ee
+6 -1
View File
@@ -25,7 +25,12 @@ Install_gae()
wget -O $serverPath/source/gae/$file https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/$file
fi
cd $serverPath/source/gae && tar zxvf $file
if [ ! -f $serverPath/source/gae/google-cloud-sdk ];then
cd $serverPath/source/gae && tar zxvf $file
fi
cp -r $serverPath/source/gae/google-cloud-sdk ${serverPath}/gae
echo "${1}" > ${serverPath}/gae/version.pl