]> git.pld-linux.org Git - packages/less.git/commitdiff
- add *.asc
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 1 Mar 2007 13:22:29 +0000 (13:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lesspipe.sh -> 1.22

lesspipe.sh

index f6e42689005bc476b0ad3ace1a6039e507337830..a0f1ca6a0a6be5dab257fb1d6b03c9f3f0918145 100644 (file)
@@ -44,6 +44,8 @@ lesspipe() {
        *.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`
This page took 0.17472 seconds and 4 git commands to generate.