summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-22 07:53:42 +0000
committerMike Frysinger <vapier@gentoo.org>2009-10-22 07:53:42 +0000
commit5074dbb22e8710a9a090018ca0baaa9a5936d51d (patch)
tree1896f8ecb04a6fa2c2bd160502b91d90d248cff7 /sys-apps/less
parentold (diff)
downloadgentoo-2-5074dbb22e8710a9a090018ca0baaa9a5936d51d.tar.gz
gentoo-2-5074dbb22e8710a9a090018ca0baaa9a5936d51d.tar.bz2
gentoo-2-5074dbb22e8710a9a090018ca0baaa9a5936d51d.zip
start a filesystem image section
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/less')
-rw-r--r--sys-apps/less/files/lesspipe.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys-apps/less/files/lesspipe.sh b/sys-apps/less/files/lesspipe.sh
index afa7dc992efb..e7daac462b22 100644
--- a/sys-apps/less/files/lesspipe.sh
+++ b/sys-apps/less/files/lesspipe.sh
@@ -142,6 +142,9 @@ lesspipe() {
fi
;;
+ ### Filesystems ###
+ *.squashfs) unsquashfs -s "$1" && unsquashfs -ll "$1" ;;
+
### Media ###
*.bmp|*.gif|*.jpeg|*.jpg|*.ico|*.pcd|*.pcx|*.png|*.ppm|*.tga|*.tiff|*.tif)
identify "$1" || file -L -- "$1"
@@ -229,7 +232,7 @@ if [[ -z $1 ]] ; then
echo "Usage: lesspipe.sh <file>"
elif [[ $1 == "-V" || $1 == "--version" ]] ; then
Id="cvsid"
- cvsid="$Id: lesspipe.sh,v 1.35 2009/04/11 23:20:51 vapier Exp $"
+ cvsid="$Id: lesspipe.sh,v 1.36 2009/10/22 07:53:42 vapier Exp $"
cat <<-EOF
$cvsid
Copyright 2001-2009 Gentoo Foundation