Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: font.eclass
Date: Wed, 19 Sep 2007 02:56:09
Message-Id: E1IXpbx-0008Jz-F9@stork.gentoo.org
1 dirtyepic 07/09/19 02:48:21
2
3 Modified: font.eclass
4 Log:
5 BSD xargs doesn't do -r.
6
7 Revision Changes Path
8 1.33 eclass/font.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass?rev=1.33&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass?rev=1.33&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/font.eclass?r1=1.32&r2=1.33
13
14 Index: font.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/font.eclass,v
17 retrieving revision 1.32
18 retrieving revision 1.33
19 diff -u -r1.32 -r1.33
20 --- font.eclass 16 Sep 2007 20:00:56 -0000 1.32
21 +++ font.eclass 19 Sep 2007 02:48:20 -0000 1.33
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.32 2007/09/16 20:00:56 dirtyepic Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/font.eclass,v 1.33 2007/09/19 02:48:20 dirtyepic Exp $
27
28 # Author: foser <foser@g.o>
29
30 @@ -110,7 +110,7 @@
31 font_pkg_postinst() {
32 # unreadable font files = fontconfig segfaults
33 find "${ROOT}"usr/share/fonts/ -type f '!' -perm 0644 -print0 \
34 - | xargs -r -0 chmod -v 0644
35 + | xargs -0 chmod -v 0644 2>/dev/null
36
37 if has_version '>=media-libs/fontconfig-2.4'; then
38 if [ ${ROOT} == "/" ]; then
39 @@ -124,7 +124,7 @@
40 font_pkg_postrm() {
41 # unreadable font files = fontconfig segfaults
42 find "${ROOT}"usr/share/fonts/ -type f '!' -perm 0644 -print0 \
43 - | xargs -r -0 chmod -v 0644
44 + | xargs -0 chmod -v 0644 2>/dev/null
45
46 if has_version '>=media-libs/fontconfig-2.4'; then
47 if [ ${ROOT} == "/" ]; then
48
49
50
51 --
52 gentoo-commits@g.o mailing list