fix systemd unit file install path: some distros do nott have the `lib -> usr/lib` symlink (#8)

This commit is contained in:
aroundthfur 2020-01-05 17:34:18 +01:00 committed by Adnan Hodzic
parent 5be27f43ba
commit 7cbe1de022
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def deploy():
os.system("cp scripts/auto-cpufreq-remove.sh /usr/bin/auto-cpufreq-remove")
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
s.call("/usr/bin/auto-cpufreq-install", shell=True)