fix systemd unit file install path: some distros do nott have the `lib -> usr/lib` symlink (#8)
This commit is contained in:
parent
5be27f43ba
commit
7cbe1de022
|
@ -77,7 +77,7 @@ def deploy():
|
||||||
os.system("cp scripts/auto-cpufreq-remove.sh /usr/bin/auto-cpufreq-remove")
|
os.system("cp scripts/auto-cpufreq-remove.sh /usr/bin/auto-cpufreq-remove")
|
||||||
|
|
||||||
print("\n* Deploy auto-cpufreq systemd unit file")
|
print("\n* Deploy auto-cpufreq systemd unit file")
|
||||||
os.system("cp scripts/auto-cpufreq.service /lib/systemd/system/auto-cpufreq.service")
|
os.system("cp scripts/auto-cpufreq.service /usr/lib/systemd/system/auto-cpufreq.service")
|
||||||
|
|
||||||
# run auto-cpufreq daemon deploy script
|
# run auto-cpufreq daemon deploy script
|
||||||
s.call("/usr/bin/auto-cpufreq-install", shell=True)
|
s.call("/usr/bin/auto-cpufreq-install", shell=True)
|
||||||
|
|
Loading…
Reference in New Issue