Fixes in scripts

This commit is contained in:
absurdo 2023-03-28 18:20:35 +02:00
parent 3a665b3d81
commit cf07859027
7 changed files with 67 additions and 4 deletions

View file

@ -13,15 +13,15 @@ DISTRO=`( lsb_release -ds || cat /etc/*release || uname -om ) 2>/dev/null | head
if [[ $DISTRO =~ ^Debian ]] || [[ $DISTRO =~ ^Ubuntu ]]; then
sudo apt-get update
sudo apt-get -y install python3 python3-pip
sudo apt-get -y install python3 python3-pip sudo
elif [[ $DISTRO =~ ^NAME=\"Arch ]]; then
sudo pacman -Syu --noconfirm python python-pip
sudo pacman -Syu --noconfirm python python-pip sudo
elif [[ $DISTRO =~ ^NAME=\"Rocky ]]; then
sudo dnf install -y python python-pip
sudo dnf install -y python python-pip sudo
#Install EPEL
dnf config-manager --set-enabled crb
sudo dnf install -y \
@ -33,7 +33,7 @@ elif [[ $DISTRO =~ ^Fedora ]]; then
sudo dnf upgrade -y
sudo dnf install -y python3 python3-pip
sudo dnf install -y python3 python3-pip sudo
else