1
0
mirror of https://github.com/tommytran732/pamac-flatpak synced 2024-12-04 14:02:25 -05:00

Less ugly way to enable systemd timers

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2022-09-03 00:40:47 -04:00
parent bc5d564e6d
commit 41d86aa25c
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -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'