[packages/lesspipe] assume .gpg encrypted files, like from pass(1)
glen
glen at pld-linux.org
Sat Aug 20 14:10:21 CEST 2016
commit 92ea88f7a5b4c728789decbac183fb96098c9346
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Sat Aug 20 15:10:09 2016 +0300
assume .gpg encrypted files, like from pass(1)
lesspipe.sh | 1 +
lesspipe.spec | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/lesspipe.spec b/lesspipe.spec
index 23fd1f5..7679297 100644
--- a/lesspipe.spec
+++ b/lesspipe.spec
@@ -5,7 +5,7 @@
Summary: Input preprocessor for less
Summary(pl.UTF-8): Preprocesor wejścia dla narzędzia less
Name: lesspipe
-Version: 1.56
+Version: 1.57
Release: 1
License: GPL v2
Group: Applications/Text
diff --git a/lesspipe.sh b/lesspipe.sh
index 48705d5..dfba039 100755
--- a/lesspipe.sh
+++ b/lesspipe.sh
@@ -125,6 +125,7 @@ lesspipe() {
*.p7s) openssl pkcs7 -noout -text -in "$1" -print_certs -inform DER;;
# gnupg armored files
*.asc) gpg --homedir=/dev/null "$1" ;;
+ *.gpg) gpg -d "$1" ;;
*.so) library_info "$1" ;;
# Possible manual pages
*.1|*.2|*.3|*.4|*.5|*.6|*.7|*.8|*.9|*.l|*.n|*.man)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lesspipe.git/commitdiff/92ea88f7a5b4c728789decbac183fb96098c9346
More information about the pld-cvs-commit
mailing list