Skip to content

Commit

Permalink
Minor script output changed...
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Sep 7, 2018
1 parent 1ce7153 commit 4f4719a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions upload_box_to_vagrantup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ upload_boxfile_to_vagrantup() {
echo "*** Removing previous version: https://vagrantcloud.com/api/v1/box/$VAGRANT_CLOUD_USER/$NAME/version/$CURRENT_VERSION"
curl -s https://app.vagrantup.com/api/v1/box/$VAGRANT_CLOUD_USER/$NAME/version/$CURRENT_VERSION -X DELETE -d access_token="$VAGRANTUP_ACCESS_TOKEN" > /dev/null
fi
echo "*** Done"
}

vagrantup_upload() {
Expand Down
7 changes: 3 additions & 4 deletions vagrant_init_destroy_boxes_docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ main() {
fi

if [ -f $LOG_FILE ]; then
echo -e "\n*** ERROR: Logfile \"$LOG_FILE\" exist, please remove it...\n"
exit 1
echo -e "\n*** ERROR: Logfile \"$LOG_FILE\" exist! Skipping...\n"
else
vagrant_box
fi

vagrant_box
}

main

0 comments on commit 4f4719a

Please sign in to comment.