install: given repo url will be used intead of already existing ones

This commit is contained in:
Daniel unbrot Pätzold
2026-05-07 16:43:26 +02:00
parent 49a998fc12
commit fdc2a44582
+4
View File
@@ -361,8 +361,12 @@ if [[ -n "$EXISTING_OEMDRV_DEV" ]]; then
fi fi
if [[ -f "$MOUNT_POINT/system_setup/setup_system.inc.sh" && -f "$MOUNT_POINT/config/setup_system.conf" ]]; then if [[ -f "$MOUNT_POINT/system_setup/setup_system.inc.sh" && -f "$MOUNT_POINT/config/setup_system.conf" ]]; then
if [ ! -z $REPO_URL ]; then BACK_REPO_URL="$REPO_URL"; fi
if [ ! -z $REPO_BRANCH ]; then BACK_REPO_BRANCH="$REPO_BRANCH"; fi
info "Reading existing configuration from ${MOUNT_POINT} ..." info "Reading existing configuration from ${MOUNT_POINT} ..."
source "$MOUNT_POINT/system_setup/setup_system.inc.sh" source "$MOUNT_POINT/system_setup/setup_system.inc.sh"
if [ ! -z $BACK_REPO_URL ]; then REPO_URL="$BACK_REPO_URL"; fi
if [ ! -z $BACK_REPO_BRANCH ]; then REPO_BRANCH="$BACK_REPO_BRANCH"; fi
fi fi
# ── Check existing git repository origin ────────────────────────────── # ── Check existing git repository origin ──────────────────────────────