diff options
author | Ryan Hill <rhill@gentoo.org> | 2007-09-19 02:48:20 +0000 |
---|---|---|
committer | Ryan Hill <rhill@gentoo.org> | 2007-09-19 02:48:20 +0000 |
commit | ca2f4ed8be328ae172efa5a9041858dc06897010 (patch) | |
tree | 2fb4c22a9c298708f01ed07886a06072ef80534a /eclass/font.eclass | |
parent | add latest ConsoleKit from Gentopia (diff) | |
download | historical-ca2f4ed8be328ae172efa5a9041858dc06897010.tar.gz historical-ca2f4ed8be328ae172efa5a9041858dc06897010.tar.bz2 historical-ca2f4ed8be328ae172efa5a9041858dc06897010.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 |