summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-03-30 09:28:27 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-03-30 09:28:27 +0000
commit235522865675f851a50039529eee45737edea256 (patch)
tree9bf9cd511048ba33e17d5fcb7fe1c8d3a8ecf1c8 /sys-fs/udev/udev-200.ebuild
parentVersion bump, update to distutils-r1. (diff)
downloadgentoo-2-235522865675f851a50039529eee45737edea256.tar.gz
gentoo-2-235522865675f851a50039529eee45737edea256.tar.bz2
gentoo-2-235522865675f851a50039529eee45737edea256.zip
Missing USE="udev" check for sys-apps/hwids in pkg_postinst() hwdb database update.
(Portage version: 2.2.0_alpha169/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-fs/udev/udev-200.ebuild')
-rw-r--r--sys-fs/udev/udev-200.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys-fs/udev/udev-200.ebuild b/sys-fs/udev/udev-200.ebuild
index 4c748699a46c..81187e202d8c 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.2 2013/03/29 06:54:57 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-200.ebuild,v 1.3 2013/03/30 09:28:27 ssuominen Exp $
EAPI=5
@@ -454,9 +454,9 @@ pkg_postinst() {
elog " fixing known issues visit:"
elog " http://www.gentoo.org/doc/en/udev-guide.xml"
- # Keep this here in case the database format changes so it gets updated
- # when required. Despite that this file is owned by sys-apps/hwids.
- if use hwdb && has_version sys-apps/hwids; then
+ # Update hwdb database in case the format is changed by udev version.
+ if use hwdb && has_version sys-apps/hwids[udev]; then
+ echo YES
udevadm hwdb --update --root="${ROOT%/}"
fi
}