Skip to content

Commit

Permalink
Adds OpenSUSE Tumbleweed to detected distributions (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
asperan authored Dec 6, 2020
1 parent eb9ccfe commit 97b9dc1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions auto-cpufreq-installer
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97b9dc1

Please sign in to comment.