Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/hwids: hwids-99999999.ebuild hwids-20121202.2.ebuild
Date: Sun, 02 Dec 2012 12:15:15
Message-Id: 20121202121504.529AF2171D@flycatcher.gentoo.org
1 ssuominen 12/12/02 12:15:04
2
3 Modified: hwids-99999999.ebuild hwids-20121202.2.ebuild
4 Log:
5 Prevent calling ext helper grep by sticking to bash-only. Thanks to Arfrever.
6
7 (Portage version: 2.2.0_alpha144/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
8
9 Revision Changes Path
10 1.9 sys-apps/hwids/hwids-99999999.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild?r1=1.8&r2=1.9
15
16 Index: hwids-99999999.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- hwids-99999999.ebuild 2 Dec 2012 12:03:42 -0000 1.8
23 +++ hwids-99999999.ebuild 2 Dec 2012 12:15:04 -0000 1.9
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2012 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v 1.8 2012/12/02 12:03:42 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-99999999.ebuild,v 1.9 2012/12/02 12:15:04 ssuominen Exp $
29
30 EAPI=5
31 inherit udev
32 @@ -48,7 +48,7 @@
33 }
34
35 pkg_postinst() {
36 - if use udev && udevadm 2>&1 | grep -qs hwdb; then
37 + if use udev && [[ $(udevadm --help 2>&1) == *hwdb* ]]; then
38 udevadm hwdb --update
39 fi
40 }
41
42
43
44 1.6 sys-apps/hwids/hwids-20121202.2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild?rev=1.6&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild?rev=1.6&content-type=text/plain
48 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild?r1=1.5&r2=1.6
49
50 Index: hwids-20121202.2.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild,v
53 retrieving revision 1.5
54 retrieving revision 1.6
55 diff -u -r1.5 -r1.6
56 --- hwids-20121202.2.ebuild 2 Dec 2012 12:03:42 -0000 1.5
57 +++ hwids-20121202.2.ebuild 2 Dec 2012 12:15:04 -0000 1.6
58 @@ -1,6 +1,6 @@
59 # Copyright 1999-2012 Gentoo Foundation
60 # Distributed under the terms of the GNU General Public License v2
61 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild,v 1.5 2012/12/02 12:03:42 ssuominen Exp $
62 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwids/hwids-20121202.2.ebuild,v 1.6 2012/12/02 12:15:04 ssuominen Exp $
63
64 EAPI=5
65 inherit udev
66 @@ -52,7 +52,7 @@
67 }
68
69 pkg_postinst() {
70 - if use udev && udevadm 2>&1 | grep -qs hwdb; then
71 + if use udev && [[ $(udevadm --help 2>&1) == *hwdb* ]]; then
72 udevadm hwdb --update
73 fi
74 }