Skip to content

Commit 7ae33f7

Browse files
committed
Fix script update
1 parent de7c1db commit 7ae33f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app-deploy.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,9 @@ function script_auto_update {
275275
echo "Please wait until main script is finished with updating..."
276276
echo
277277
echo "Fetching new data..."
278-
mkdir .app_deploy_tmp
278+
if [ ! -d ".app_deploy_tmp" ]; then
279+
mkdir .app_deploy_tmp
280+
fi
279281
git clone --quiet https://github.com/infinum/app-deploy-script.git .app_deploy_tmp
280282
echo "Updating..."
281283
cat .app_deploy_tmp/app-deploy.sh > /usr/local/bin/app-deploy

0 commit comments

Comments
 (0)