SPECS: pinentry.spec - user-configurable first

qboosh qboosh at pld-linux.org
Tue Aug 26 17:56:25 CEST 2008


Author: qboosh                       Date: Tue Aug 26 15:56:25 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- user-configurable first

---- Files affected:
SPECS:
   pinentry.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/pinentry.spec
diff -u SPECS/pinentry.spec:1.26 SPECS/pinentry.spec:1.27
--- SPECS/pinentry.spec:1.26	Tue Aug 26 17:47:55 2008
+++ SPECS/pinentry.spec	Tue Aug 26 17:56:20 2008
@@ -110,7 +110,9 @@
 cat >$RPM_BUILD_ROOT%{_bindir}/pinentry <<'EOF'
 #!/bin/sh
 
-if [ -z "$DISPLAY" ]; then
+if [ -n "$PINENTRY_PROGRAM" ]; then
+	exec $PINENTRY_PROGRAM "$@"
+elif [ -z "$DISPLAY" ]; then
 	exec %{_bindir}/pinentry-curses "$@"
 elif [ -x %{_bindir}/pinentry-gtk-2 ]; then
 	exec %{_bindir}/pinentry-gtk-2 "$@"
@@ -162,6 +164,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2008/08/26 15:56:20  qboosh
+- user-configurable first
+
 Revision 1.26  2008/08/26 15:47:55  qboosh
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/pinentry.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list