summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2007-07-16 15:38:30 +0000
committerDoug Goldstein <cardoe@gentoo.org>2007-07-16 15:38:30 +0000
commitd925587f1783206b12ddd13f998375123d03d8bc (patch)
tree003c2f88af11a74c164d63ddc2c6bbbb0cce3504 /eclass
parentStable on sparc wrt security #183520 (diff)
downloadgentoo-2-d925587f1783206b12ddd13f998375123d03d8bc.tar.gz
gentoo-2-d925587f1783206b12ddd13f998375123d03d8bc.tar.bz2
gentoo-2-d925587f1783206b12ddd13f998375123d03d8bc.zip
typo on my part. not versionator doc issue.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/nvidia-driver.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/nvidia-driver.eclass b/eclass/nvidia-driver.eclass
index f3598db1eae8..0b5ab6c27a26 100644
--- a/eclass/nvidia-driver.eclass
+++ b/eclass/nvidia-driver.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/nvidia-driver.eclass,v 1.6 2007/07/16 15:12:43 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.7 2007/07/16 15:38:30 cardoe Exp $
#
# Original Author: Doug Goldstein <cardoe@gentoo.org>
@@ -65,10 +65,10 @@ nvidia-driver-get-mask() {
nvidia-driver-check-warning() {
local NVIDIA_MASK="$(nvidia-driver-get-mask)"
if [ -n "$NVIDIA_MASK" ]; then
- version_compare "${NVIDIA_MASK##-*}" "${PV}"
+ version_compare "${NVIDIA_MASK##*-}" "${PV}"
r=$?
- if [ "x$r" = "x3" ]; then
+ if [ "x$r" = "x1" ]; then
ewarn "***** WARNING *****"
ewarn
ewarn "You are currently installing a version of nvidia-drivers that is"