From 1aea3593eaec79756318c075825221edd34632ef Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 26 Nov 2005 00:32:53 +0000 Subject: add support for listing arc files (Portage version: 2.0.53_rc7) --- sys-apps/less/files/lesspipe.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh index 43d3c6bfdf18..6d014cd8ed62 100644 --- a/sys-apps/less/files/lesspipe.sh +++ b/sys-apps/less/files/lesspipe.sh @@ -92,6 +92,7 @@ lesspipe() { *.rpm) rpm -qpivl --changelog -- "$1" ;; *.cpi|*.cpio) cpio -itv < "$1" ;; *.ace) unace l -- "$1" ;; + *.arc) arc v "$1" ;; *.arj) unarj l -- "$1" ;; *.cab) cabextract -l -- "$1" ;; *.lha|*.lzh) lha v "$1" ;; @@ -183,8 +184,8 @@ lesspipe() { if [[ -z $1 ]] ; then echo "Usage: lesspipe.sh " elif [[ $1 == "-V" ]] ; then - Id="lesspipe.sh" - cvsid="$Id: lesspipe.sh,v 1.12 2005/11/22 22:29:08 vapier Exp $" + Id="cvsid" + cvsid="$Id: lesspipe.sh,v 1.13 2005/11/26 00:32:53 vapier Exp $" cat <<-EOF $cvsid Copyright 2001-2005 Gentoo Foundation -- cgit v1.2.3-65-gdbad