SOURCES: lesspipe.sh - add *.asc

glen glen at pld-linux.org
Thu Mar 1 14:22:34 CET 2007


Author: glen                         Date: Thu Mar  1 13:22:34 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- add *.asc

---- Files affected:
SOURCES:
   lesspipe.sh (1.21 -> 1.22) 

---- Diffs:

================================================================
Index: SOURCES/lesspipe.sh
diff -u SOURCES/lesspipe.sh:1.21 SOURCES/lesspipe.sh:1.22
--- SOURCES/lesspipe.sh:1.21	Fri Dec 15 12:03:15 2006
+++ SOURCES/lesspipe.sh	Thu Mar  1 14:22:29 2007
@@ -44,6 +44,8 @@
 	*.csr) openssl req -noout -text -in "$1" ;;
 	*.crl) openssl crl -noout -text -in "$1" ;;
 	*.crt) openssl x509 -noout -text -in "$1" ;;
+	# gnupg armored files
+	*.asc) gpg --homedir=/dev/null "$1" 2>/dev/null ;;
 	# Possible manual pages
 	*.1|*.2|*.3|*.4|*.5|*.6|*.7|*.8|*.9|*.l|*.n|*.man) FILE=`file -L "$1"` ; # groff src
 		FILE=`echo $FILE | cut -d ' ' -f 2`
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/lesspipe.sh?r1=1.21&r2=1.22&f=u



More information about the pld-cvs-commit mailing list