summaryrefslogtreecommitdiff
path: root/apps/installer/includes/functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'apps/installer/includes/functions.sh')
-rw-r--r--apps/installer/includes/functions.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/installer/includes/functions.sh b/apps/installer/includes/functions.sh
index cd4d746e51..31c17f8f49 100644
--- a/apps/installer/includes/functions.sh
+++ b/apps/installer/includes/functions.sh
@@ -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() {