From 41d86aa25c00fcb525aadea2b0b1d3e3ec4d4421 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 3 Sep 2022 00:40:47 -0400 Subject: [PATCH] Less ugly way to enable systemd timers Signed-off-by: Tommy --- pamac.install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pamac.install b/pamac.install index 8494cb1..272d6b4 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'