mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-30 00:17:51 +02:00
handle salt for r9 and c9
This commit is contained in:
@@ -617,13 +617,6 @@ if [ "$(echo "$ITYPE" | grep stable)" = "" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# We want to require this script to only run with -r. We dont want to accidentally try to install from another repo
|
||||
# and we dont want to put salt.repo in /etc/yum.repos.d/
|
||||
if [ "$_DISABLE_REPOS" -eq $BS_FALSE ];then
|
||||
echoerror "This script has been modified to required the usage of the -r flag which disables this script from using its own repos..."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# If doing a git install, check what branch/tag/sha will be checked out
|
||||
if [ "$ITYPE" = "git" ]; then
|
||||
if [ "$#" -eq 0 ];then
|
||||
|
||||
Reference in New Issue
Block a user