summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-26 00:32:53 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-26 00:32:53 +0000
commit2e5f06786b15ead051be9db3aa96d7b14d7127f2 (patch)
tree8e10bf5aba80ab5087f176224678e79450ddd27e /sys-apps
parentStable on x86; bug #113519 (diff)
downloadhistorical-2e5f06786b15ead051be9db3aa96d7b14d7127f2.tar.gz
historical-2e5f06786b15ead051be9db3aa96d7b14d7127f2.tar.bz2
historical-2e5f06786b15ead051be9db3aa96d7b14d7127f2.zip
add support for listing arc files
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/less/Manifest8
-rw-r--r--sys-apps/less/files/lesspipe.sh5
2 files changed, 7 insertions, 6 deletions
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
index 625476af480d..087267103327 100644
--- a/sys-apps/less/Manifest
+++ b/sys-apps/less/Manifest
@@ -6,7 +6,7 @@ MD5 0f015b2ac33a3d039f77c6f15b768895 files/code2color.patch 221
MD5 6f05cb473c8bd03fb8fb5ba7466aa804 files/digest-less-382-r2 60
MD5 c9bb99cd4f916916f975c59d38c3d590 files/digest-less-385 60
MD5 f5d6d65946fd9d3091b3d06bc3615492 files/digest-less-385_p4-r2 181
-MD5 2f19ad1ee4ecc66106a9d236c6642943 files/lesspipe.sh 5368
+MD5 b85acf5b5c72307188142ca9919f1133 files/lesspipe.sh 5391
MD5 adb0b1124c355f33197454d2be87bfd3 less-382-r2.ebuild 791
MD5 147e4c10285042fad83d0c3592498e8c less-385.ebuild 800
MD5 4011fc14d9d06c6e8500ddc95e26ecd2 less-385_p4-r2.ebuild 1528
@@ -14,7 +14,7 @@ MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDg5xGgIKl8Uu19MoRAprRAJ0frxYFUxi+HNYoYHuaziqaO0LWCACfW4kP
-cJmNI6xtLGhRWhp6RR4Noho=
-=HGXK
+iD8DBQFDh62wgIKl8Uu19MoRAnBXAJkBggLQao6e0mTmstSlU2MQVfr6dwCfXB8A
+rlB3v8QOI6cEt5WWj53RO0A=
+=OnJL
-----END PGP SIGNATURE-----
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 <file>"
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