Add Arch-based Linux to auto-cpufreq-installer script. (#152)

This commit is contained in:
Marco Vermeulen 2021-01-20 20:32:12 +00:00 committed by GitHub
parent 81e208f5a1
commit 11872ac9a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

View File

@ -120,6 +120,21 @@ then
separator
complete_msg
separator
# Manjaro/Arch
elif [ -f /etc/os-release ] && eval "$(cat /etc/os-release)" && [[ $ID == "manjaro" || $ID == "arch" ]];
then
separator
echo -e "\nDetected an Arch Linux based distribution\n"
echo -e "\nSetting up Python environment\n"
pacman -S --noconfirm python python-pip python-setuptools gcc
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