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/nvidia-glx-1.0.2880.ebuild
parentgcc3 related fixes (diff)
downloadhistorical-f60259c64647acf72f03ab2dacd21f4d608baeb1.tar.gz
historical-f60259c64647acf72f03ab2dacd21f4d608baeb1.tar.bz2
historical-f60259c64647acf72f03ab2dacd21f4d608baeb1.zip
small fix
Diffstat (limited to 'media-video/nvidia-glx/nvidia-glx-1.0.2880.ebuild')
-rw-r--r--media-video/nvidia-glx/nvidia-glx-1.0.2880.ebuild7
1 files changed, 6 insertions, 1 deletions
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() {