diff options
-rw-r--r-- | postlfs/config/profile.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/postlfs/config/profile.xml b/postlfs/config/profile.xml index 935d9308f9..2fc502860c 100644 --- a/postlfs/config/profile.xml +++ b/postlfs/config/profile.xml @@ -550,6 +550,10 @@ fi unset RED GREEN NORMAL +# GnuPG wants this or it'll fail with pinentry-curses under some +# circumstances (for example signing a Git commit) +tty -s && export GPG_TTY=$(tty) + # End /etc/bashrc</literal> EOF</userinput></screen> |