OCaml 4.14.0 rebuild
[arch-packages.git] / gnome-keyring / trunk / gnome-keyring.install
blobc1a8391c511a733f6cba5047b4601091006f5f0c
1 post_install() {
2   setcap cap_ipc_lock+ep usr/bin/gnome-keyring-daemon
4   # Enable socket by default
5   systemctl --global enable gnome-keyring-daemon.socket
8 post_upgrade() {
9   setcap cap_ipc_lock+ep usr/bin/gnome-keyring-daemon
11   if (( $(vercmp $2 1:42.0-1) < 0)); then
12     systemctl --global enable gnome-keyring-daemon.socket
13   fi
16 pre_remove() {
17   systemctl --global disable gnome-keyring-daemon.socket