diff options
| author | ivan-boikov <ik.boikov.public@protonmail.com> | 2022-05-22 18:11:15 +0200 |
|---|---|---|
| committer | ivan-boikov <ik.boikov.public@protonmail.com> | 2022-05-22 18:11:15 +0200 |
| commit | 688f02cc56104ef13dc923ee86c9801cecf0f759 (patch) | |
| tree | 850a13167c7bdbc6f3be9bc6d2877090b2065805 /scripts/.local/bin/pinentry-wrapper | |
| parent | 832badeaff2a74f19416f5fe637985ff93105423 (diff) | |
updated scripts
Diffstat (limited to 'scripts/.local/bin/pinentry-wrapper')
| -rwxr-xr-x | scripts/.local/bin/pinentry-wrapper | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/.local/bin/pinentry-wrapper b/scripts/.local/bin/pinentry-wrapper new file mode 100755 index 0000000..febdbe2 --- /dev/null +++ b/scripts/.local/bin/pinentry-wrapper @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +case "${PINENTRY_USER_DATA-}" in + *USE_TTY=1*) + exec pinentry-tty "$@" + ;; + *) + exec /usr/bin/pinentry "$@" + ;; +esac |
