summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/font.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/font.eclass b/eclass/font.eclass
index 16699acbbe89..052e15a3f2a1 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.32 2007/09/16 20:00:56 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.33 2007/09/19 02:48:20 dirtyepic Exp $
# Author: foser <foser@gentoo.org>
@@ -110,7 +110,7 @@ font_pkg_setup() {
font_pkg_postinst() {
# unreadable font files = fontconfig segfaults
find "${ROOT}"usr/share/fonts/ -type f '!' -perm 0644 -print0 \
- | xargs -r -0 chmod -v 0644
+ | xargs -0 chmod -v 0644 2>/dev/null
if has_version '>=media-libs/fontconfig-2.4'; then
if [ ${ROOT} == "/" ]; then
@@ -124,7 +124,7 @@ font_pkg_postinst() {
font_pkg_postrm() {
# unreadable font files = fontconfig segfaults
find "${ROOT}"usr/share/fonts/ -type f '!' -perm 0644 -print0 \
- | xargs -r -0 chmod -v 0644
+ | xargs -0 chmod -v 0644 2>/dev/null
if has_version '>=media-libs/fontconfig-2.4'; then
if [ ${ROOT} == "/" ]; then