From 97b9dc1fcf38c9d4b69f274b60fc791a0c632fba Mon Sep 17 00:00:00 2001 From: Alex Speranza Date: Sun, 6 Dec 2020 18:21:50 +0100 Subject: [PATCH] Adds OpenSUSE Tumbleweed to detected distributions (#134) --- auto-cpufreq-installer | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/auto-cpufreq-installer b/auto-cpufreq-installer index e87529df..fd2e6a06 100755 --- a/auto-cpufreq-installer +++ b/auto-cpufreq-installer @@ -100,6 +100,21 @@ then separator complete_msg separator +# OpenSUSE Tumbleweed +elif [ -f /etc/os-release ] && eval "$(cat /etc/os-release)" && [ $ID == "opensuse-tumbleweed" ]; +then + separator + echo -e "\nDetected OpenSUSE Tumbleweed distribution\n" + echo -e "\nSetting up Python environment\n" + zypper install python38 python3-pip python3-setuptools + echo -e "\nInstalling necessary Python packages\n" + pip_pkg_install + separator + echo -e "\ninstalling auto-cpufreq tool\n" + install + separator + complete_msg + separator # Other else separator