Fixes for support change port and changes for no install monit for default
This commit is contained in:
parent
2ebe22f79e
commit
7c1b903d44
11 changed files with 38 additions and 16 deletions
|
|
@ -22,7 +22,7 @@ elif [[ $DISTRO =~ ^NAME=\"Arch ]]; then
|
|||
|
||||
sudo pacman -S --noconfirm python python-pip sudo augeas python-virtualenv
|
||||
|
||||
elif [[ $DISTRO =~ ^NAME=\"Rocky ]] || [[ $DISTRO =~ ^NAME=\"Alma ]]; then
|
||||
elif [[ $DISTRO =~ ^NAME=\"Rocky ]] || [[ $DISTRO =~ ^Alma ]]; then
|
||||
|
||||
dnf install -y sudo
|
||||
|
||||
|
|
@ -46,7 +46,7 @@ elif [[ $DISTRO =~ ^Fedora ]]; then
|
|||
|
||||
else
|
||||
|
||||
echo "Sorry, Linux distro not supported"
|
||||
echo '{"error": 1, "status": 1, "progress": 100, "no_progress":0, "message": "Error, cannot install python in your distro..."}'
|
||||
exit 1;
|
||||
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue