archrelease: copy trunk to extra-x86_64
[arch-packages.git] / pinentry / repos / core-x86_64 / pinentry
blob4115ca4a38d0eabc498b59848e78b34f8f4b0719
1 #!/bin/sh
3 # user-defined pre-exec hook
4 test -r "${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry/preexec &&
5 . "${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry/preexec
7 # site-defined pre-exec hook
8 test -r /etc/pinentry/preexec &&
9 . /etc/pinentry/preexec
11 test -e /usr/lib/libgtk-x11-2.0.so.0 &&
12 exec /usr/bin/pinentry-gtk-2 "$@"
14 exec /usr/bin/pinentry-curses "$@"