fix missing "then"
This commit is contained in:
2
setup.sh
2
setup.sh
@@ -64,7 +64,7 @@ if ! [ -e /usr/bin/salt-call ]; then
|
||||
/opt/saltstack/salt/bin/pip3 install "salt==$SALT_VERSION"
|
||||
ln -sfT /opt/saltstack/salt/bin/salt-call /usr/bin/salt-call
|
||||
elif [[ "$DISTRO" == "centos" ]] || [[ "$DISTRO" == "almalinux" ]]; then
|
||||
if [[ "$DISTRO" == "almalinux" ]]
|
||||
if [[ "$DISTRO" == "almalinux" ]]; then
|
||||
OS_VERSION="$(python3 -m distro --json | jq -r .version_parts.major)"
|
||||
fi
|
||||
rpm --import https://repo.saltproject.io/salt/py3/redhat/$OS_VERSION/x86_64/SALT-PROJECT-GPG-PUBKEY-2023.pub
|
||||
|
||||
Reference in New Issue
Block a user