upgpkg: sbcl 2.2.5-1
[arch-packages.git] / gcr / trunk / gcr.install
blobac186011d2598d498fec91c0fe71d574d2ac4d0c
1 post_install() {
2   # Enable socket by default
3   systemctl --global enable gcr-ssh-agent.socket
5   cat <<END
6 >>> gcr contains /etc/security/limits.d/10-gcr.conf which sets the memlock limit
7     in order to allow GCR to lock private keys in memory. If you have configured
8     this limit differently before, please review your configuration.
9 END
12 post_upgrade() {
13   if (( $(vercmp $2 3.41.0-1) < 0)); then
14     systemctl --global enable gcr-ssh-agent.socket
15   fi
18 pre_remove() {
19   systemctl --global disable gcr-ssh-agent.socket