summaryrefslogtreecommitdiff
path: root/pinentry/pinentry
blob: 443bd7cb7ce301e8a3c5b7b7d4bd309a67eb48d0 (plain)
    1 #!/bin/sh
    2 # pinentry wrapper
    3 
    4 if [ -x /usr/bin/pinentry-qt5 ];then
    5   exec /usr/bin/pinentry-qt5 "$@"
    6 fi
    7 
    8 if [ -x /usr/bin/pinentry-qt ];then
    9   exec /usr/bin/pinentry-qt "$@"
   10 fi
   11 
   12 if [ -x /usr/bin/pinentry-gtk-2 ];then
   13   exec /usr/bin/pinentry-gtk-2 "$@"
   14 fi
   15 
   16 if [ -x /usr/bin/pinentry-curses ];then
   17   exec /usr/bin/pinentry-curses "$@"
   18 else
   19   echo "no pinentry binary available" > /dev/stderr
   20   exit 1
   21 fi

Generated by cgit