add support for Solus (#122)
* add support for Solus add an instruction command to point auto-cpufreq.service to the right location to fix --install on Solus * using sed instead of awk * add "may requires root" to instructions * add Solus as a separate installer Add Solus as a separate installer instead of instructions * remove redundant instructions
This commit is contained in:
parent
b7ec8472af
commit
22d95746a6
|
@ -83,6 +83,22 @@ then
|
|||
separator
|
||||
complete_msg
|
||||
separator
|
||||
# Solus
|
||||
elif [ -f /etc/solus-release ];
|
||||
then
|
||||
separator
|
||||
echo -e "\nDetected Solus distribution\n"
|
||||
echo -e "\nSetting up Python environment\n"
|
||||
eopkg install pip python3 inxi
|
||||
echo -e "\nInstalling necessary Python packages\n"
|
||||
pip_pkg_install
|
||||
separator
|
||||
echo -e "\ninstalling auto-cpufreq tool\n"
|
||||
install
|
||||
sed -i 's/ExecStart=\/usr\/local\/bin\/auto-cpufreq/ExecStart=\/usr\/bin\/auto-cpufreq/' /usr/local/share/auto-cpufreq/scripts/auto-cpufreq.service
|
||||
separator
|
||||
complete_msg
|
||||
separator
|
||||
# Other
|
||||
else
|
||||
separator
|
||||
|
|
Loading…
Reference in New Issue