summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2008-12-23 01:28:49 +0000
committerNed Ludd <solar@gentoo.org>2008-12-23 01:28:49 +0000
commitb4b0eb9cc823411d696b17c9f7a2feb9a3a785ca (patch)
tree907d7652aa4f063a4a84e0efd9c1d6ad8c99aadc /eclass
parent- angelos messed up and deprecated something he should not have (diff)
downloadgentoo-2-b4b0eb9cc823411d696b17c9f7a2feb9a3a785ca.tar.gz
gentoo-2-b4b0eb9cc823411d696b17c9f7a2feb9a3a785ca.tar.bz2
gentoo-2-b4b0eb9cc823411d696b17c9f7a2feb9a3a785ca.zip
fix oversight in how ROOT in used. Use the host utils (not the cross compiled ones) to update the ROOT
Diffstat (limited to 'eclass')
-rw-r--r--eclass/fdo-mime.eclass14
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/fdo-mime.eclass b/eclass/fdo-mime.eclass
index fd5791fe6ecf..fcf9cfa1c664 100644
--- a/eclass/fdo-mime.eclass
+++ b/eclass/fdo-mime.eclass
@@ -1,11 +1,11 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/fdo-mime.eclass,v 1.7 2008/05/06 08:11:45 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/fdo-mime.eclass,v 1.8 2008/12/23 01:28:49 solar Exp $
# @ECLASS: fdo-mime.eclass
# @MAINTAINER: freedesktop-bugs@gentoo.org
-#
-#
+#
+#
# Original author: foser <foser@gentoo.org>
# @BLURB: Utility eclass to update the desktop mime info as laid out in the freedesktop specs & implementations
@@ -15,10 +15,10 @@
# Updates the desktop database.
# Generates a list of mimetypes linked to applications that can handle them
fdo-mime_desktop_database_update() {
- if [ -x "${ROOT}/usr/bin/update-desktop-database" ]
+ if [ -x "/usr/bin/update-desktop-database" ]
then
einfo "Updating desktop mime database ..."
- "${ROOT}/usr/bin/update-desktop-database" -q "${ROOT}/usr/share/applications"
+ "/usr/bin/update-desktop-database" -q "${ROOT}/usr/share/applications"
fi
}
@@ -27,9 +27,9 @@ fdo-mime_desktop_database_update() {
# Update the mime database.
# Creates a general list of mime types from several sources
fdo-mime_mime_database_update() {
- if [ -x "${ROOT}/usr/bin/update-mime-database" ]
+ if [ -x "/usr/bin/update-mime-database" ]
then
einfo "Updating shared mime info database ..."
- "${ROOT}/usr/bin/update-mime-database" "${ROOT}/usr/share/mime"
+ "/usr/bin/update-mime-database" "${ROOT}/usr/share/mime"
fi
}