1
0
mirror of https://github.com/tommytran732/pamac-flatpak-gnome synced 2024-12-22 06:21:34 -05:00
pamac-flatpak-gnome/pamac.install

22 lines
904 B
Plaintext
Raw Permalink Normal View History

2021-08-18 03:22:00 -04:00
post_install() {
# enable flatpak repo
if [ -f /usr/bin/flatpak ]; then
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
2021-08-18 04:10:33 -04:00
flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
2021-08-18 03:22:00 -04:00
fi
# enable systemd timers
systemctl enable --now pamac-cleancache.timer
#systemctl enable --now pamac-mirrorlist.timer
2021-08-18 03:22:00 -04:00
# polkit agent
printf '==> An authentication agent is required\n'
printf ' Cinnamon, Deepin, GNOME, GNOME Flashback, KDE, LXDE, LXQt, MATE and Xfce\n'
printf ' have an authentication agent already.\n'
printf ' See https://wiki.archlinux.org/index.php/Polkit#Authentication_agents\n'
printf ' for other desktop environments.\n'
}
post_remove() {
# disable systemd timers
systemctl disable --now pamac-cleancache.timer
#systemctl disable --now pamac-mirrorlist.timer
}