update distro names

This commit is contained in:
Marco Ochse 2023-06-30 11:22:50 +02:00
parent 5465a5e364
commit e4b73c5be7

View file

@ -46,11 +46,11 @@ fi
# Install packages based on the distribution # Install packages based on the distribution
case $myCURRENT_DISTRIBUTION in case $myCURRENT_DISTRIBUTION in
"Fedora") "Fedora Linux")
sudo dnf update -y sudo dnf update -y
sudo dnf install -y ${myPACKAGES} sudo dnf install -y ${myPACKAGES}
;; ;;
"Debian"|"Ubuntu") "Debian GNU/Linux"|"Ubuntu")
if ! command -v sudo >/dev/null; if ! command -v sudo >/dev/null;
then then
echo "### sudo is not installed. To continue you need to provide the root password ... " echo "### sudo is not installed. To continue you need to provide the root password ... "