summarylogtreecommitdiffstats
path: root/cpupower_gui.install
diff options
context:
space:
mode:
authorEvangelos Rigas2020-11-09 13:05:26 +0000
committerEvangelos Rigas2020-11-09 13:05:26 +0000
commitac0b9dbe2f3d3aed9718d79149a971075cf005c2 (patch)
tree674874a04bebf6f371792186eaf5436e8fb2ff4c /cpupower_gui.install
parentd70b91ce70fdb477b81ce56753fabb0d575f458c (diff)
downloadaur-cpupower-gui-git.tar.gz
Remove global flag from post_install
Diffstat (limited to 'cpupower_gui.install')
-rw-r--r--cpupower_gui.install12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpupower_gui.install b/cpupower_gui.install
index b7f62f86cd79..cac8e145e57b 100644
--- a/cpupower_gui.install
+++ b/cpupower_gui.install
@@ -1,16 +1,16 @@
post_install() {
# enable daemons
echo ":: Enabling cpupower-gui-helper service"
- systemctl --global enable cpupower-gui-helper.service
- systemctl --global enable cpupower-gui.service
+ systemctl enable cpupower-gui-helper.service
+ systemctl enable cpupower-gui.service
}
post_upgrade() {
echo ":: Enabling cpupower-gui-helper service"
- systemctl --global enable cpupower-gui-helper.service
- systemctl --global enable cpupower-gui.service
+ systemctl enable cpupower-gui-helper.service
+ systemctl enable cpupower-gui.service
}
pre_remove() {
- systemctl --global disable cpupower-gui-helper.service
- systemctl --global disable cpupower-gui.service
+ systemctl disable cpupower-gui-helper.service
+ systemctl disable cpupower-gui.service
}