Package: signing-party
Version: 1.1.4-1
Severity: wishlist
Tags: patch

Hello,

Just for the sake of symetry, I think it would be nice to allow
gpgparticipant to output the list it generates on its stdout, just as it
can be fed with the key list on its stdin.

(it can already be done by passing it /dev/stdout as the output file
name, but this is not as elegant)

This simple patch implements that.

Librement,

-- 
  ,--.
: /` )   Tanguy Ortolo      <xmpp:tan...@ortolo.eu>
| `-'    Debian Developer   <irc://irc.oftc.net/Tanguy>
  \_
Index: gpgparticipants/gpgparticipants
===================================================================
--- gpgparticipants/gpgparticipants	(révision 495)
+++ gpgparticipants/gpgparticipants	(copie de travail)
@@ -26,7 +26,10 @@
 org="$4"
 title=$(echo "$5"|tr a-z A-Z|sed 's/\(.\)/\1 /g')
 
-exec > "$output"
+if [ "$output" != "-" ]
+then
+    exec > "$output"
+fi
 
 # Date of event
 LANG=C date --date="$date" +"%A, %B %e, %Y;  %H:%M"
Index: gpgsigs/gpgsigs
===================================================================
--- gpgsigs/gpgsigs	(révision 495)
+++ gpgsigs/gpgsigs	(copie de travail)
@@ -182,7 +182,7 @@
 		if ($latex and not $photocount) { # call once per key
 			my ($shortkey) = substr $key, -8;
 			system "rm -f $shortkey.[1-9]*.eps";
-			system "gpg --photo-viewer 'gpgsigs-eps-helper $shortkey' --list-options show-photos --list-key $key > /dev/null";
+			system "gpg --photo-viewer '/usr/share/signing-party/gpgsigs-eps-helper $shortkey' --list-options show-photos --list-key $key > /dev/null";
 			$photocount = 1;
 		}
 		my ($shortkey) = substr $key, -8;

Attachment: signature.asc
Description: Digital signature

Reply via email to