15 lines
664 B
Diff
15 lines
664 B
Diff
Index: pass-1.7.4/src/password-store.sh
|
|
===================================================================
|
|
--- pass-1.7.4.orig/src/password-store.sh
|
|
+++ pass-1.7.4/src/password-store.sh
|
|
@@ -9,8 +9,7 @@ set -o pipefail
|
|
GPG_OPTS=( $PASSWORD_STORE_GPG_OPTS "--quiet" "--yes" "--compress-algo=none" "--no-encrypt-to" )
|
|
GPG="gpg"
|
|
export GPG_TTY="${GPG_TTY:-$(tty 2>/dev/null)}"
|
|
-which gpg2 &>/dev/null && GPG="gpg2"
|
|
-[[ -n $GPG_AGENT_INFO || $GPG == "gpg2" ]] && GPG_OPTS+=( "--batch" "--use-agent" )
|
|
+GPG_OPTS+=( "--batch" "--use-agent" )
|
|
|
|
PREFIX="${PASSWORD_STORE_DIR:-$HOME/.password-store}"
|
|
EXTENSIONS="${PASSWORD_STORE_EXTENSIONS_DIR:-$PREFIX/.extensions}"
|