mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-02 02:41:51 +02:00
Default soup to 3/main branch for 3.X.X installations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user