- minor fix in lesspipe.sh (#73215)

This commit is contained in:
Karsten Hopp 2004-11-16 12:47:44 +00:00
parent a2c11cd01e
commit 0f6345b3d8
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Summary: A text file browser similar to more, but better.
Name: less
Version: 382
Release: 4
Release: 5
License: GPL
Group: Applications/Text
Source: http://www.greenwoodsoftware.com/less/%{name}-%{version}.tar.gz
@ -53,6 +53,9 @@ install -c -m 755 %{SOURCE3} $RPM_BUILD_ROOT/etc/profile.d
rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Nov 16 2004 Karsten Hopp <karsten@redhat.de> 382-5
- minor fix in lesspipe.sh (#73215)
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt

View File

@ -22,7 +22,7 @@ lesspipe() {
fi ;;
*.tar) tar tvvf "$1" ;;
*.tgz|*.tar.gz|*.tar.[zZ]) tar tzvvf "$1" ;;
*.tar.bz2|*.tbz2) bzip2 -dc "$1" | tar tvvf - ;;
*.tar.bz2|*.tbz2) bzip2 -dc -- "$1" | tar tvvf - ;;
*.[zZ]|*.gz) gzip -dc -- "$1" ;;
*.bz2) bzip2 -dc -- "$1" ;;
*.zip) zipinfo -- "$1" ;;