Default soup to 3/main branch for 3.X.X installations

This commit is contained in:
Mike Reeves
2026-04-01 15:22:37 -04:00
parent 89e470059e
commit 472769452c

View File

@@ -317,7 +317,11 @@ clone_to_tmp() {
# Make a temp location for the files
mkdir -p /tmp/sogh
cd /tmp/sogh
SOUP_BRANCH="-b 2.4/main"
if [[ "$INSTALLEDVERSION" == 3.* ]]; then
SOUP_BRANCH="-b 3/main"
else
SOUP_BRANCH="-b 2.4/main"
fi
if [ -n "$BRANCH" ]; then
SOUP_BRANCH="-b $BRANCH"
fi