diff options
Diffstat (limited to 'new_archinstall.sh')
-rw-r--r-- | new_archinstall.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/new_archinstall.sh b/new_archinstall.sh index 05fdbc5..a07f525 100644 --- a/new_archinstall.sh +++ b/new_archinstall.sh @@ -34,6 +34,7 @@ TESTSERVER="8.8.8.8" # hostnames will not work properly LOG_FILE_PATH="/var/log/archinstall.log" REPOSITORY_URL="https://github.com/xengineering/archinstall/" REPOSITORY_PATH="/opt/archinstall.git" +BRANCH_OR_COMMIT="master" CONFIG_FILE_PATH="/etc/archinstall/config.json" DELAY=0.5 @@ -105,7 +106,7 @@ output "Cloning git repository ..." pacman --noconfirm -Sy git | tee -a $LOG_FILE_PATH mkdir $REPOSITORY_PATH git clone $REPOSITORY_URL $REPOSITORY_PATH | tee -a $LOG_FILE_PATH -cd $REPOSITORY_PATH && git checkout $CLONE_BRANCH | tee -a $LOG_FILE_PATH +cd $REPOSITORY_PATH && git checkout $BRANCH_OR_COMMIT | tee -a $LOG_FILE_PATH cd output "Git repository cloned - OK" |