mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
If using the default git clone URL, also update it to use HTTPS if the flag is passed.
This commit is contained in:
parent
79e9c7e7fb
commit
68329b80c8
1 changed files with 6 additions and 1 deletions
|
@ -300,7 +300,12 @@ do
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
g ) _SALT_REPO_URL=$OPTARG ;;
|
g ) _SALT_REPO_URL=$OPTARG ;;
|
||||||
G ) _SALTSTACK_REPO_URL="https://github.com/saltstack/salt.git"
|
G ) if [ "${_SALT_REPO_URL}" = "${_SALTSTACK_REPO_URL}" ]; then
|
||||||
|
_SALTSTACK_REPO_URL="https://github.com/saltstack/salt.git"
|
||||||
|
_SALT_REPO_URL=${_SALTSTACK_REPO_URL}
|
||||||
|
else
|
||||||
|
_SALTSTACK_REPO_URL="https://github.com/saltstack/salt.git"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
k ) _TEMP_KEYS_DIR="$OPTARG"
|
k ) _TEMP_KEYS_DIR="$OPTARG"
|
||||||
# If the configuration directory does not exist, error out
|
# If the configuration directory does not exist, error out
|
||||||
|
|
Loading…
Add table
Reference in a new issue