summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-21 01:28:59 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-21 01:28:59 +0000
commit2d9c8c6947702f682f98aa6981e98e8a78141260 (patch)
tree8cd855504c857401ca1bf0856d99adb12611b45b /sys-apps/less
parentRedo spool directory stuff again, as torque still complains at me. Also move ... (diff)
downloadhistorical-2d9c8c6947702f682f98aa6981e98e8a78141260.tar.gz
historical-2d9c8c6947702f682f98aa6981e98e8a78141260.tar.bz2
historical-2d9c8c6947702f682f98aa6981e98e8a78141260.zip
add support for showing archives (*.a) and debian packages (*.deb)
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sys-apps/less')
-rw-r--r--sys-apps/less/Manifest8
-rw-r--r--sys-apps/less/files/lesspipe.sh3
2 files changed, 7 insertions, 4 deletions
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
index a76e3ebac5aa..6eaa5e0a8003 100644
--- a/sys-apps/less/Manifest
+++ b/sys-apps/less/Manifest
@@ -7,13 +7,13 @@ MD5 a5d7ec44664c5c3766d0973291477765 less-385_p4.ebuild 1131
MD5 2aaa4d79df0dbf51d83d34fafc68f58b less-385.ebuild 776
MD5 8c1422a7e45ec2d2d0b9e97bd4867091 ChangeLog 5217
MD5 6f05cb473c8bd03fb8fb5ba7466aa804 files/digest-less-382-r2 60
-MD5 4ac4f26b1c6b494c5e3652b888ab4634 files/lesspipe.sh 1911
+MD5 a4095ecfedd62ce5a648f0c5ff6f8d47 files/lesspipe.sh 2020
MD5 c9bb99cd4f916916f975c59d38c3d590 files/digest-less-385 60
MD5 07e2862dc300b691cba6dfb12426b732 files/digest-less-385_p4 126
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFC2KXogIKl8Uu19MoRAoBJAKCAfjNXbYQY0huYhf2YruCg8LKZfgCgg4/R
-Ed+P7DocJNDii8lLQ06pK6I=
-=eNXT
+iD8DBQFC3vpogIKl8Uu19MoRApdzAKCD04AXxAYSLuyO69WSc3YiLl+FCQCcDRDR
+1YUQyM9UhsiYWqDGfOPS7GI=
+=BLW5
-----END PGP SIGNATURE-----
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index c8a2dd617cfb..cc3c53fa1fd2 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -50,6 +50,9 @@ lesspipe() {
*.arj) unarj l -- "$1" ;;
*.cab) cabextract -l -- "$1" ;;
*.7z) 7z l -- "$1" ;;
+ *.a) ar tv "$1" ;;
+ *.deb) ar tv "$1"
+ ar p "$1" data.tar.gz | tar tzvvf - ;;
### Media ###
*.gif|*.jpeg|*.jpg|*.pcd|*.png|*.tga|*.tiff|*.tif|*.bmp)