/[gentoo-x86]/eclass/nvidia-driver.eclass
Gentoo

Diff of /eclass/nvidia-driver.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2007 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.4 2007/07/16 15:01:05 cardoe Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/nvidia-driver.eclass,v 1.5 2007/07/16 15:06:06 cardoe Exp $
4 4
5# 5#
6# Original Author: Doug Goldstein <cardoe@gentoo.org> 6# Original Author: Doug Goldstein <cardoe@gentoo.org>
7# Purpose: Provide useful messages for nvidia-drivers based on currently 7# Purpose: Provide useful messages for nvidia-drivers based on currently
8# installed Nvidia card 8# installed Nvidia card
63} 63}
64 64
65nvidia-driver-check-warning() { 65nvidia-driver-check-warning() {
66 local NVIDIA_MASK="$(nvidia-driver-get-mask)" 66 local NVIDIA_MASK="$(nvidia-driver-get-mask)"
67 if [ -n "$NVIDIA_MASK" ]; then 67 if [ -n "$NVIDIA_MASK" ]; then
68 version-compare "${NVIDIA_MASK##-*}" "${PV}" 68 version_compare "${NVIDIA_MASK##-*}" "${PV}"
69 r=$? 69 r=$?
70 70
71 if [ "x$r" = "x1" ]; then 71 if [ "x$r" = "x1" ]; then
72 ewarn "***** WARNING *****" 72 ewarn "***** WARNING *****"
73 ewarn 73 ewarn

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20