feat(Bash/Installer): configure remote and pull branch in conf/config.sh (#8488)

Co-authored-by: BytesGalore <3903215+BytesGalore@users.noreply.github.com>
This commit is contained in:
BytesGalore
2021-11-01 11:28:20 +01:00
committed by GitHub
parent 54cf80bf29
commit 1b8c23cbee
2 changed files with 15 additions and 1 deletions

View File

@@ -47,7 +47,11 @@ function inst_configureOS() {
function inst_updateRepo() {
cd "$AC_PATH_ROOT"
git pull origin $(git rev-parse --abbrev-ref HEAD)
if [ ! -z $INSTALLER_PULL_FROM ]; then
git pull "$ORIGIN_REMOTE" "$INSTALLER_PULL_FROM"
else
git pull "$ORIGIN_REMOTE" $(git rev-parse --abbrev-ref HEAD)
fi
}
function inst_resetRepo() {