summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-02-08 18:22:39 +0000
committerPeter Volkov <pva@gentoo.org>2009-02-08 18:22:39 +0000
commita614b0239df4a38f5a8b962e847b41240914dcf3 (patch)
tree43a5847618491502262bba8cda0d5e778d6d4f44 /eclass
parentStable on alpha, bug #245861 (diff)
downloadgentoo-2-a614b0239df4a38f5a8b962e847b41240914dcf3.tar.gz
gentoo-2-a614b0239df4a38f5a8b962e847b41240914dcf3.tar.bz2
gentoo-2-a614b0239df4a38f5a8b962e847b41240914dcf3.zip
Fixed unquoted variables, bug #258164, thank Markus Meier for report.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/font.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index 247451488dc3..949039abc0e7 100644
--- a/eclass/font.eclass
+++ b/eclass/font.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.43 2009/01/12 22:54:46 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.44 2009/02/08 18:22:39 pva Exp $
# @ECLASS: font.eclass
# @MAINTAINER:
@@ -151,7 +151,7 @@ font_pkg_postinst() {
| xargs -0 chmod -v 0644 2>/dev/null
if has_version '>=media-libs/fontconfig-2.4'; then
- if [ ${ROOT} == "/" ]; then
+ if [[ ${ROOT} == "/" ]]; then
ebegin "Updating global fontcache"
fc-cache -fs
eend $?
@@ -168,7 +168,7 @@ font_pkg_postrm() {
| xargs -0 chmod -v 0644 2>/dev/null
if has_version '>=media-libs/fontconfig-2.4'; then
- if [ ${ROOT} == "/" ]; then
+ if [[ ${ROOT} == "/" ]]; then
ebegin "Updating global fontcache"
fc-cache -fs
eend $?