Adds OpenSUSE Tumbleweed to detected distributions (#134)

This commit is contained in:
Alex Speranza 2020-12-06 18:21:50 +01:00 committed by Adnan Hodzic
parent eb9ccfe32f
commit 40f349b7f0
1 changed files with 15 additions and 0 deletions

View File

@ -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