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 | fff5c2df5526cb61821ef729be030f49a1e1d00e (patch) | |
tree | f38ea802ffb86978b84a8cdf21f8d5ccd5a1c995 /eclass | |
parent | Version bump (diff) | |
download | historical-fff5c2df5526cb61821ef729be030f49a1e1d00e.tar.gz historical-fff5c2df5526cb61821ef729be030f49a1e1d00e.tar.bz2 historical-fff5c2df5526cb61821ef729be030f49a1e1d00e.zip |
Updated .DirIcon file type detection to match new output I'm getting from a
recent upgrade of 'file'.
Diffstat (limited to '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"*) |