mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-10 23:20:57 +00:00
Make pinentry work even if LANG env var is not set (default to C, fix #188)
This commit is contained in:
parent
90e46854bc
commit
181103bc56
3
tomb
3
tomb
@ -364,6 +364,9 @@ ask_password() {
|
|||||||
# own fallback mechanisms. Pinentry supported: curses, gtk-2, qt4
|
# own fallback mechanisms. Pinentry supported: curses, gtk-2, qt4
|
||||||
# and x11.
|
# and x11.
|
||||||
|
|
||||||
|
# make sure LANG is set, default to C
|
||||||
|
LANG=${LANG:-C}
|
||||||
|
|
||||||
if [[ "$DISPLAY" = "" ]]; then
|
if [[ "$DISPLAY" = "" ]]; then
|
||||||
|
|
||||||
if _is_found "pinentry-curses"; then
|
if _is_found "pinentry-curses"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user