summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2002-04-07 12:18:36 +0000
committerMartin Schlemmer <azarah@gentoo.org>2002-04-07 12:18:36 +0000
commitf60259c64647acf72f03ab2dacd21f4d608baeb1 (patch)
treef2afd1ab2f7745781478a23220fcd4cc8bf20852 /media-video/nvidia-glx
parentgcc3 related fixes (diff)
downloadhistorical-f60259c64647acf72f03ab2dacd21f4d608baeb1.tar.gz
historical-f60259c64647acf72f03ab2dacd21f4d608baeb1.tar.bz2
historical-f60259c64647acf72f03ab2dacd21f4d608baeb1.zip
small fix
Diffstat (limited to 'media-video/nvidia-glx')
-rw-r--r--media-video/nvidia-glx/ChangeLog6
-rw-r--r--media-video/nvidia-glx/nvidia-glx-1.0.2880.ebuild7
2 files changed, 11 insertions, 2 deletions
diff --git a/media-video/nvidia-glx/ChangeLog b/media-video/nvidia-glx/ChangeLog
index 1cb26d0896eb..8f0562db2fd1 100644
--- a/media-video/nvidia-glx/ChangeLog
+++ b/media-video/nvidia-glx/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/nvidia-glx
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-glx/ChangeLog,v 1.5 2002/04/07 05:42:34 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-glx/ChangeLog,v 1.6 2002/04/07 12:18:36 azarah Exp $
+
+ 7 Apr 2002; M.Schlemmer <azarah@gentoo.org> nvidia-glx-1.0.2880.ebuild :
+
+ Nuke /etc/env.d/09nvidia if it exists, else we get problems.
*nvidia-glx-1.0.2880 (7 Apr 2002)
diff --git a/media-video/nvidia-glx/nvidia-glx-1.0.2880.ebuild b/media-video/nvidia-glx/nvidia-glx-1.0.2880.ebuild
index 54e5945df8d5..b6e38b1eebe4 100644
--- a/media-video/nvidia-glx/nvidia-glx-1.0.2880.ebuild
+++ b/media-video/nvidia-glx/nvidia-glx-1.0.2880.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Martin Schlemmer <azarah@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-glx/nvidia-glx-1.0.2880.ebuild,v 1.1 2002/04/07 05:42:34 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/nvidia-glx/nvidia-glx-1.0.2880.ebuild,v 1.2 2002/04/07 12:18:36 azarah Exp $
NV_V=${PV/1.0./1.0-}
NV_PACKAGE=NVIDIA_GLX-${NV_V}
@@ -73,6 +73,11 @@ pkg_preinst() {
then
rm -rf ${ROOT}/usr/lib/opengl/nvidia/*
fi
+ #make sure we nuke the old nvidia-glx's env.d file
+ if [ -e ${ROOT}/etc/env.d/09nvidia ]
+ then
+ rm -f ${ROOT}/etc/env.d/09nvidia
+ fi
}
pkg_postinst() {