diff --git a/installer/installer.sh b/installer/installer.sh index 53c462e..9ec7546 100644 --- a/installer/installer.sh +++ b/installer/installer.sh @@ -13,6 +13,7 @@ export GIT_SSL_NO_VERIFY clone_repository() { local BRANCH=$1 + rm -rf $DOWNLOAD_DIR git clone -b "$BRANCH" $GIT_REPO $DOWNLOAD_DIR chown -R ogrepository:ogrepository $DOWNLOAD_DIR }