summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-05-30 23:54:10 +0000
committerMike Frysinger <vapier@gentoo.org>2008-05-30 23:54:10 +0000
commite09f53a2085b00f4da801ae1e291d40d0ca5f296 (patch)
tree0bd7723408d1ccd0e83fb79b90f53f668331185c /sys-apps/less
parentGenerate .py[co] files at pkg_postinst (bug #215538) (diff)
downloadhistorical-e09f53a2085b00f4da801ae1e291d40d0ca5f296.tar.gz
historical-e09f53a2085b00f4da801ae1e291d40d0ca5f296.tar.bz2
historical-e09f53a2085b00f4da801ae1e291d40d0ca5f296.zip
handle 7-zip archives via `file` so that things like sd7 files work magically
Package-Manager: portage-2.2_pre5.spank.spunk
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, 6 insertions, 5 deletions
diff --git a/sys-apps/less/Manifest b/sys-apps/less/Manifest
index 06243b07a626..ad4914c62589 100644
--- a/sys-apps/less/Manifest
+++ b/sys-apps/less/Manifest
@@ -4,7 +4,7 @@ Hash: SHA1
AUX README.Gentoo 823 RMD160 be59c37906fca17fa25f6781d3f5e7abc114dc57 SHA1 5a1f126af728f5220b97623050e2f9b1ea5ae58e SHA256 3985fd1810f660ea1c1f2732f719b069b6934d62d8d9e8a09287e63f049ba27d
AUX code2color.patch 1110 RMD160 712f7b79c94f92ee62825d5f53627f18fae693d2 SHA1 a82f937f3a923b52adc4f14cfc9b641903884839 SHA256 a3887126826ef0b4b821bd97cf4e7abfc8b1c9280bf2bb18a2a4cec9a2973936
AUX less.envd 50 RMD160 e9d7b2497aa81e13b740dc765c0fc87d4f1f2f8e SHA1 f903d459e7f0b2c14009304bebb7a045a7cccf9d SHA256 1f186ac4f500c842a9016702b3d7e9d69fe161db23cf56c316ed7f5a51da6a4e
-AUX lesspipe.sh 6940 RMD160 1dc698c89960cfc243887418fd7363234bba7328 SHA1 7a918e484619c4e0c90e8a9cb927110c0e1f3271 SHA256 c48598882167405b42e7a1c60a3401006c3afafb783abc3b72352d083b02f6d5
+AUX lesspipe.sh 6976 RMD160 eab15021fa0898769d20500e245b8d030094479a SHA1 864191155d083d3838e0f706b060d0029255b4ad SHA256 25810b87ad09b9864c127ad4a9681ce1300cdf8ce8640847d0e8490813a437bb
DIST code2color 199875 RMD160 378d340a20c3fe500f19116220d54816fe279225 SHA1 b30526dd52c747b8bd6dcf53cf5cc94824c47feb SHA256 ce63f148293a81b0fe5e072f33285f9bf4f1d832f64b23a2220519674a47091d
DIST less-418.tar.gz 299213 RMD160 a10402aa423e3d3c4d950735208991d7d4afb85d SHA1 ec4fb48680878a7ac3499c46564c47c448b0aa22 SHA256 f532fcd61b012379d3258196a8588fd9d51ecdfb5c795485ab2f78d439b103b4
EBUILD less-418.ebuild 1180 RMD160 b5a7d6f84bdcc8a0453474a43026b2d4701ba0da SHA1 cd68135063018687e6f010c7a0a912e8b5dd8c62 SHA256 c90c40fe5c1b70d89fedae619c077f3e315b8e5fa4d772092d72bf09c8ffd026
@@ -13,7 +13,7 @@ MISC metadata.xml 164 RMD160 f43cbec30b7074319087c9acffdb9354b17b0db3 SHA1 9c213
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFICP1Ij9hvisErhMIRAuH5AKDtnITFyA5EaV7FPrMpic9hVr2kjACgyyXs
-FkcsxAvDylGLz7ddWcrTMkA=
-=8erM
+iD8DBQFIQJOnj9hvisErhMIRApvDAKDt4ISjDWqWRc2qmnhEQ8ZZQQr5ZQCgtDM8
+syc0+QFks9+WMWS4R6lid5Y=
+=jI/s
-----END PGP SIGNATURE-----
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index 1e1f4003e057..0ab69e55ac0e 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -21,6 +21,7 @@ lesspipe_file() {
local out=$(file -L -- "$1")
local suffix
case ${out} in
+ *" 7-zip archive"*) suffix="7z";;
*" ar archive"*) suffix="a";;
*" CAB-Installer"*) suffix="cab";;
*" cpio archive"*) suffix="cpio";;
@@ -229,7 +230,7 @@ if [[ -z $1 ]] ; then
echo "Usage: lesspipe.sh <file>"
elif [[ $1 == "-V" || $1 == "--version" ]] ; then
Id="cvsid"
- cvsid="$Id: lesspipe.sh,v 1.29 2008/04/18 19:58:13 vapier Exp $"
+ cvsid="$Id: lesspipe.sh,v 1.30 2008/05/30 23:54:10 vapier Exp $"
cat <<-EOF
$cvsid
Copyright 2001-2008 Gentoo Foundation