[packages/lesspipe] view *.gem as tar files
glen
glen at pld-linux.org
Wed Apr 3 13:34:49 CEST 2013
commit c80c7ec3faa8dd627c55aed5d029fa81756256b1
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Apr 3 14:34:40 2013 +0300
view *.gem as tar files
lesspipe.sh | 2 +-
lesspipe.spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/lesspipe.spec b/lesspipe.spec
index 793889c..75f21b6 100644
--- a/lesspipe.spec
+++ b/lesspipe.spec
@@ -6,7 +6,7 @@ Summary: Input preprocessor for less
Summary(pl.UTF-8): Preprocesor wejścia dla narzędzia less
Name: lesspipe
Version: 1.55
-Release: 1
+Release: 2
License: GPL v2
Group: Applications/Text
Source0: %{name}.sh
diff --git a/lesspipe.sh b/lesspipe.sh
index 2622b02..8d233a1 100755
--- a/lesspipe.sh
+++ b/lesspipe.sh
@@ -103,7 +103,7 @@ lesspipe() {
*.phar) phar info -f "$1"; phar list -f "$1" ;;
*.rar) unrar -p- vb -- "$1" ;;
*.rpm) rpm -qpivl --changelog -- "$1" ;;
- *.tar|*.ova) tar tvvf "$1" ;;
+ *.tar|*.ova|*.gem) tar tvvf "$1" ;;
*.sqf) unsquashfs -d . -ll "$1" ;;
*.zip|*.jar|*.xpi|*.[hj]pi|*.pk3|*.skz|*.gg|*.ipa) 7z l "$1" || unzip -l "$1" ;;
# .war could be Zip (limewire) or tar.gz file (konqueror web archives)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/lesspipe.git/commitdiff/c80c7ec3faa8dd627c55aed5d029fa81756256b1
More information about the pld-cvs-commit
mailing list