fix bootstrap script

This commit is contained in:
Manuel Barkhau 2018-11-04 21:18:16 +01:00
parent e888be1f71
commit 6416df7094
2 changed files with 316 additions and 3 deletions

View file

@ -22,10 +22,10 @@ IS_PUBLIC=1
PROJECT_DIR=$(dirname $0)
if ! [[ -f $PROJECT_DIR/scripts/bootstrapit_update.sh ]]; then
RAW_FILES_URL="https://gitlab.com/mbarkhau/bootstrapit/raw/master"
mkdir -p "$PROJECT_DIR/scripts/";
curl --silent -O "$PROJECT_DIR/scripts/bootstrapit_update.sh" \
"$RAW_FILES_URL/scripts/bootstrapit_update.sh";
RAW_FILES_URL="https://gitlab.com/mbarkhau/bootstrapit/raw/master";
curl --silent "$RAW_FILES_URL/scripts/bootstrapit_update.sh" \
> "$PROJECT_DIR/scripts/bootstrapit_update.sh"
fi
source $PROJECT_DIR/scripts/bootstrapit_update.sh;