diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2013-03-30 09:44:22 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2013-03-30 09:44:22 +0000 |
commit | 77625ed85849713b1668d80434650e74c6ddc2de (patch) | |
tree | 321ced4d6dafec8b48f55d66df0f281ec6aad434 /sys-fs | |
parent | Stable for x86, wrt bug #463451 (diff) | |
download | gentoo-2-77625ed85849713b1668d80434650e74c6ddc2de.tar.gz gentoo-2-77625ed85849713b1668d80434650e74c6ddc2de.tar.bz2 gentoo-2-77625ed85849713b1668d80434650e74c6ddc2de.zip |
Add some quoting over to the has_version check by mgorny.
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/udev/ChangeLog | 6 | ||||
-rw-r--r-- | sys-fs/udev/udev-200.ebuild | 5 | ||||
-rw-r--r-- | sys-fs/udev/udev-9999.ebuild | 4 |
3 files changed, 9 insertions, 6 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog index e4439bfaf68c..3b046d98cc25 100644 --- a/sys-fs/udev/ChangeLog +++ b/sys-fs/udev/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-fs/udev # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.887 2013/03/30 09:28:27 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.888 2013/03/30 09:44:22 ssuominen Exp $ + + 30 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> udev-200.ebuild, + udev-9999.ebuild: + Add some quoting over to the has_version check by mgorny. 30 Mar 2013; Samuli Suominen <ssuominen@gentoo.org> udev-200.ebuild, udev-9999.ebuild: diff --git a/sys-fs/udev/udev-200.ebuild b/sys-fs/udev/udev-200.ebuild index 81187e202d8c..d988f3740fea 100644 --- a/sys-fs/udev/udev-200.ebuild +++ b/sys-fs/udev/udev-200.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-200.ebuild,v 1.3 2013/03/30 09:28:27 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-200.ebuild,v 1.4 2013/03/30 09:44:22 ssuominen Exp $ EAPI=5 @@ -455,8 +455,7 @@ pkg_postinst() { elog " http://www.gentoo.org/doc/en/udev-guide.xml" # Update hwdb database in case the format is changed by udev version. - if use hwdb && has_version sys-apps/hwids[udev]; then - echo YES + if use hwdb && has_version 'sys-apps/hwids[udev]'; then udevadm hwdb --update --root="${ROOT%/}" fi } diff --git a/sys-fs/udev/udev-9999.ebuild b/sys-fs/udev/udev-9999.ebuild index aebe942786e6..c1b7c1869777 100644 --- a/sys-fs/udev/udev-9999.ebuild +++ b/sys-fs/udev/udev-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.215 2013/03/30 09:28:27 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-9999.ebuild,v 1.216 2013/03/30 09:44:22 ssuominen Exp $ EAPI=5 @@ -455,7 +455,7 @@ pkg_postinst() { elog " http://www.gentoo.org/doc/en/udev-guide.xml" # Update hwdb database in case the format is changed by udev version. - if use hwdb && has_version sys-apps/hwids[udev]; then + if use hwdb && has_version 'sys-apps/hwids[udev]'; then udevadm hwdb --update --root="${ROOT%/}" fi } |