Add Arch-based Linux to auto-cpufreq-installer script. (#152)
This commit is contained in:
parent
81e208f5a1
commit
11872ac9a0
|
@ -120,6 +120,21 @@ then
|
||||||
separator
|
separator
|
||||||
complete_msg
|
complete_msg
|
||||||
separator
|
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
|
# Other
|
||||||
else
|
else
|
||||||
separator
|
separator
|
||||||
|
|
Loading…
Reference in New Issue