diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2007-09-19 02:48:20 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2007-09-19 02:48:20 +0000 |
commit | a2d264f7d5f4a1c26132e42ef6915818f684ff9f (patch) | |
tree | 370253a0b2c2612b183a818d98efa9d8da90226d /eclass/font.eclass | |
parent | add latest ConsoleKit from Gentopia (diff) | |
download | gentoo-2-a2d264f7d5f4a1c26132e42ef6915818f684ff9f.tar.gz gentoo-2-a2d264f7d5f4a1c26132e42ef6915818f684ff9f.tar.bz2 gentoo-2-a2d264f7d5f4a1c26132e42ef6915818f684ff9f.zip |
BSD xargs doesn't do -r.
Diffstat (limited to 'eclass/font.eclass')
-rw-r--r-- | eclass/font.eclass | 6 |
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 |