use pypi to install on Fedora

This commit is contained in:
2023-12-22 22:09:59 -05:00
parent a07114ed85
commit f6dc76ec65
3 changed files with 3 additions and 3 deletions

View File

@@ -45,8 +45,7 @@ read
if ! [ -e /usr/bin/salt-call ]; then
set -x
if [[ "$(uname -m)" =~ arm* ]]; then
echo -e "${CYAN}ARM processor detected - using pip/venv${NC}"
if [[ "$(uname -m)" =~ arm* ]] || [[ "$DISTRO" == "fedora" ]]; then
[ -e /opt/saltstack/salt ] ||
python3 -m venv /opt/saltstack/salt
/opt/saltstack/salt/bin/pip3 freeze | grep -q ^salt== ||