diff options
author | Jim Ramsay <lack@gentoo.org> | 2008-10-31 13:02:31 +0000 |
---|---|---|
committer | Jim Ramsay <lack@gentoo.org> | 2008-10-31 13:02:31 +0000 |
commit | 2a097d31ca2e79a479b12c03fea0e23aa2b99544 (patch) | |
tree | 5215075c2668b5eb9973b45234dc8b7800ff2699 /eclass/rox.eclass | |
parent | Version bump (diff) | |
download | gentoo-2-2a097d31ca2e79a479b12c03fea0e23aa2b99544.tar.gz gentoo-2-2a097d31ca2e79a479b12c03fea0e23aa2b99544.tar.bz2 gentoo-2-2a097d31ca2e79a479b12c03fea0e23aa2b99544.zip |
Updated .DirIcon file type detection to match new output I'm getting from a
recent upgrade of 'file'.
Diffstat (limited to 'eclass/rox.eclass')
-rw-r--r-- | eclass/rox.eclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/rox.eclass b/eclass/rox.eclass index a8b8fc2f709d..6c67ce55b5c2 100644 --- a/eclass/rox.eclass +++ b/eclass/rox.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v 1.29 2008/06/04 13:12:23 lack Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/rox.eclass,v 1.30 2008/10/31 13:02:31 lack Exp $ # ROX eclass Version 3 @@ -200,10 +200,11 @@ rox_install_desktop() { local APPDIRICON=${APPNAME}/.DirIcon local APPICON case "$(file -b ${APPDIRICON})" in - "PNG image data"*) + "PNG image"*) APPICON=${WRAPPERNAME}.png ;; - "XML 1.0 document text"*) + "XML 1.0 document text"* | \ + "SVG Scalable Vector Graphics image"*) APPICON=${WRAPPERNAME}.svg ;; "X pixmap image text"*) |