2 # run dirmngr once to create /root/.gnupg
3 # https://bugs.archlinux.org/task/47371
4 # https://bugs.archlinux.org/task/42798
5 dirmngr </dev/null &>/dev/null
11 if (( $(vercmp "$2" '2.2.37-1') < 0)); then
12 for unit in {dirmngr,gpg-agent{,-{browser,extra,ssh}}}.socket; do
13 rm -f "/etc/systemd/user/sockets.target.wants/$unit"
15 printf "NOTE: GnuPG's systemd sockets are now enabled in the vendor location /usr/lib/systemd/user/!\n"