Git-Url:
http://git.frugalware.org/gitweb/gitweb.cgi?p=kernel-rt.git;a=commitdiff;h=f20d1e0d144b25e29dba1416e83c314eba912ac3
commit f20d1e0d144b25e29dba1416e83c314eba912ac3
Author: crazy <[EMAIL PROTECTED]>
Date: Sat Nov 3 19:40:43 2007 +0100
nvidia-96xx-rt-96.43.01-1-i686
* I should get some more sleep ;)
* we don't need any custom install files here
* we just build the kernel mod and depend on 'nvidia-96xx'
* which is doing this 'custom' stuff heh
diff --git a/source/x11-extra/nvidia-96xx-rt/nvidia-96xx-rt.install
b/source/x11-extra/nvidia-96xx-rt/nvidia-96xx-rt.install
deleted file mode 100644
index e605ee5..0000000
--- a/source/x11-extra/nvidia-96xx-rt/nvidia-96xx-rt.install
+++ /dev/null
@@ -1,60 +0,0 @@
-post_install() {
- echo "*** In order to use this package you have to accept Nvidia's
license which"
- echo "*** can be found at /usr/share/doc/nvidia/LICENSE."
- echo "*** If you don't accept it, please remove the package!"
- ## well here a 'WARNING' only on install | update because I don't know
this
- ## metamodes option will work for all
- devnr=`lspci -nn|grep "GeForce4 \(.*\) Go \(.*\)M"|sed
's/.*:\(.*\)].*/\1/'`
-
- if [ "$devnr" ]; then
- if [ "$devnr" -eq 0179 ]; then
- echo ""
- echo "*** WARNING: Nvidia - GeForce4 440/420 Go
32/64M - with PCI ID: - 0x$devnr - detected."
- echo "*** WARNING: If you get an black screen try add
this line to your xorg.conf in the DefaultDepth Section:"
- echo "Option "\"metamodes\" "\"DFP:
nvidia-auto-select +0+0; DFP: 800x600 +0+0; DFP: 640x480 +0+0\""
- echo ""
- fi
- fi
-
- sed -i 's/^.*Load "dri"/# Load "dri"/' /etc/X11/xorg.conf
- sed -i 's/Driver.*"\(nv\|vesa\|vga\)"/Driver "nvidia"/'
/etc/X11/xorg.conf
-
- exist=`cat /etc/sysconfig/modules | grep nvidia | wc -l`
- if [ "$exist" -eq 0 ]; then
- echo nvidia >> /etc/sysconfig/modules
- fi
- /sbin/depmod -a $_F_kernelmod_uname
- /sbin/modprobe nvidia
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- if test `lsmod | grep ^nvidia | wc -l` -gt 0; then
- rmmod nvidia
- fi
-
- sed -i 's/^.*# Load "dri"/Load "dri"/' /etc/X11/xorg.conf
- sed -i 's/\(^Driver *\)"nvidia"/\1"nv"/' /etc/X11/xorg.conf
-
- exist=`cat /etc/sysconfig/modules | grep nvidia | wc -l`
- if [ "$exist" -eq 1 ]; then
- grep -v '^nvidia' /etc/sysconfig/modules >
/etc/sysconfig/modules.tmp
- mv /etc/sysconfig/modules.tmp /etc/sysconfig/modules
- fi
- if [ -e /usr/lib/xorg/temp/libglx.so ]; then
- mv /usr/lib/xorg/temp/libglx.so
/usr/lib/xorg/modules/extensions/
- fi
-}
-
-post_remove() {
- depmod -a $_F_kernelmod_uname
- echo "*** Nvidia driver is removed now. To have a working Xorg Server
again run : ***"
- echo "*** pacman-g2 -S libgl libglx ****"
-}
-
-op=$1
-shift
-$op $*
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git