From 15d65dbc25e6c758045a705953b91c9e299e7358 Mon Sep 17 00:00:00 2001 From: Marco Ochse Date: Wed, 1 Nov 2023 15:50:16 +0100 Subject: [PATCH] Add Raspbian as supported OS (64 Bit) --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index e6a2fbe1..efc1e807 100755 --- a/install.sh +++ b/install.sh @@ -27,7 +27,7 @@ if [ ${EUID} -eq 0 ]; fi # Check if running on a supported distribution -mySUPPORTED_DISTRIBUTIONS=("AlmaLinux" "Debian GNU/Linux" "Fedora Linux" "openSUSE Tumbleweed" "Rocky Linux" "Ubuntu") +mySUPPORTED_DISTRIBUTIONS=("AlmaLinux" "Debian GNU/Linux" "Fedora Linux" "openSUSE Tumbleweed" "Raspbian GNU/Linux" "Rocky Linux" "Ubuntu") myCURRENT_DISTRIBUTION=$(awk -F= '/^NAME/{print $2}' /etc/os-release | tr -d '"') if [[ ! " ${mySUPPORTED_DISTRIBUTIONS[@]} " =~ " ${myCURRENT_DISTRIBUTION} " ]]; @@ -64,7 +64,7 @@ case ${myCURRENT_DISTRIBUTION} in echo sudo dnf -y --refresh install ${myPACKAGES_FEDORA} ;; - "Debian GNU/Linux"|"Ubuntu") + "Debian GNU/Linux"|"Raspbian GNU/Linux"|"Ubuntu") echo echo ${myINSTALL_NOTIFICATION} echo @@ -106,7 +106,7 @@ esac echo # Define tag for Ansible -myANSIBLE_DISTRIBUTIONS=("Fedora Linux" "Debian GNU/Linux" "Rocky Linux") +myANSIBLE_DISTRIBUTIONS=("Fedora Linux" "Debian GNU/Linux" "Raspbian GNU/Linux" "Rocky Linux") if [[ "${myANSIBLE_DISTRIBUTIONS[@]}" =~ "${myCURRENT_DISTRIBUTION}" ]]; then myANSIBLE_TAG=$(echo ${myCURRENT_DISTRIBUTION} | cut -d " " -f 1)