summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTommy2022-09-03 00:40:47 -0400
committerTommy2022-09-03 00:40:47 -0400
commit41d86aa25c00fcb525aadea2b0b1d3e3ec4d4421 (patch)
treecc1daa40fad55f13c42dc2373a717ac2eda90d09
parentbc5d564e6d079ac15dd930f1f8c37151427d15cf (diff)
downloadaur-41d86aa25c00fcb525aadea2b0b1d3e3ec4d4421.tar.gz
Less ugly way to enable systemd timers
Signed-off-by: Tommy <contact@tommytran.io>
-rw-r--r--pamac.install4
1 files changed, 2 insertions, 2 deletions
diff --git a/pamac.install b/pamac.install
index 8494cb150fd7..272d6b4a05ea 100644
--- a/pamac.install
+++ b/pamac.install
@@ -5,8 +5,8 @@ post_install() {
flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
fi
# enable systemd timers
- ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/multi-user.target.wants
- #ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/multi-user.target.wants
+ systemctl enable --now pamac-cleancache.timer
+ #systemctl enable --now pamac-mirrorlist.timer
# polkit agent
printf '==> An authentication agent is required\n'
printf ' Cinnamon, Deepin, GNOME, GNOME Flashback, KDE, LXDE, LXQt, MATE and Xfce\n'