summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2013-12-24 17:32:40 +0100
committerMartin Väth <martin@mvath.de>2015-10-11 10:49:05 +0200
commitd45505ae49af3ca182991012916642e61f15fce4 (patch)
tree46895afa64230280fb735eccf17726f8bac0f7ac /sys-apps/less/files/lesspipe.sh
parentBump noscript (diff)
downloadmv-d45505ae49af3ca182991012916642e61f15fce4.tar.gz
mv-d45505ae49af3ca182991012916642e61f15fce4.tar.bz2
mv-d45505ae49af3ca182991012916642e61f15fce4.zip
Bump lesspipe
Diffstat (limited to 'sys-apps/less/files/lesspipe.sh')
-rw-r--r--sys-apps/less/files/lesspipe.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index e5c8e65d..c21052b7 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -183,7 +183,8 @@ lesspipe() {
### Encryption stuff ###
*.crl) openssl crl -hash -text -noout -in "$1" ;;
- *.pem) openssl x509 -hash -text -noout -in "$1" ;;
+ *.csr) openssl req -text -noout -in "$1" ;;
+ *.crt|*.pem) openssl x509 -hash -text -noout -in "$1" ;;
# May not be such a good idea :)
# ### Device nodes ###
@@ -235,7 +236,7 @@ if [[ -z $1 ]] ; then
elif [[ $1 == "-V" || $1 == "--version" ]] ; then
Id="cvsid"
cat <<-EOF
- $Id: lesspipe.sh,v 1.52 2013/04/29 18:37:49 vapier Exp $
+ $Id: lesspipe.sh,v 1.53 2013/08/06 21:35:30 vapier Exp $
Copyright 2001-2013 Gentoo Foundation
Mike Frysinger <vapier@gentoo.org>
(with plenty of ideas stolen from other projects/distros)