From b36d658ba1da7c1c7fa9497cc5f7a35e4bdc0308 Mon Sep 17 00:00:00 2001 From: Keiran Snowden Date: Sun, 28 Dec 2025 20:03:18 -0500 Subject: [PATCH] fix missing "then" --- setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index 9d0257f..97f59e8 100755 --- a/setup.sh +++ b/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