We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de7c1db commit 7ae33f7Copy full SHA for 7ae33f7
app-deploy.sh
@@ -275,7 +275,9 @@ function script_auto_update {
275
echo "Please wait until main script is finished with updating..."
276
echo
277
echo "Fetching new data..."
278
- mkdir .app_deploy_tmp
+ if [ ! -d ".app_deploy_tmp" ]; then
279
+ mkdir .app_deploy_tmp
280
+ fi
281
git clone --quiet https://github.com/infinum/app-deploy-script.git .app_deploy_tmp
282
echo "Updating..."
283
cat .app_deploy_tmp/app-deploy.sh > /usr/local/bin/app-deploy
0 commit comments