1
0
mirror of https://github.com/tommytran732/pamac-flatpak synced 2024-12-04 21:31:33 -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 flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
fi fi
# enable systemd timers # enable systemd timers
ln -sf /usr/lib/systemd/system/pamac-cleancache.timer /etc/systemd/system/multi-user.target.wants systemctl enable --now pamac-cleancache.timer
#ln -sf /usr/lib/systemd/system/pamac-mirrorlist.timer /etc/systemd/system/multi-user.target.wants #systemctl enable --now pamac-mirrorlist.timer
# polkit agent # polkit agent
printf '==> An authentication agent is required\n' printf '==> An authentication agent is required\n'
printf ' Cinnamon, Deepin, GNOME, GNOME Flashback, KDE, LXDE, LXQt, MATE and Xfce\n' printf ' Cinnamon, Deepin, GNOME, GNOME Flashback, KDE, LXDE, LXQt, MATE and Xfce\n'