[arch-commits] Commit in nvidia-lts/trunk (nvidia-lts.install)

Ionut Biru ibiru at archlinux.org
Tue Jun 14 19:09:01 UTC 2011


    Date: Tuesday, June 14, 2011 @ 15:09:00
  Author: ibiru
Revision: 127430

print message suggesting that they need to reboot after first installing nvidia

Modified:
  nvidia-lts/trunk/nvidia-lts.install

--------------------+
 nvidia-lts.install |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: nvidia-lts.install
===================================================================
--- nvidia-lts.install	2011-06-14 19:01:12 UTC (rev 127429)
+++ nvidia-lts.install	2011-06-14 19:09:00 UTC (rev 127430)
@@ -1,14 +1,15 @@
 post_install() {
-	KERNEL_VERSION='2.6.32-lts'
-	depmod $KERNEL_VERSION
+    KERNEL_VERSION='2.6.32-lts'
+    depmod $KERNEL_VERSION
+    echo 'In order to use nvidia module, reboot the system.'
 }
 
 post_upgrade() {
-	post_install
-	rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
+    KERNEL_VERSION='2.6.32-lts'
+    rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
 }
 
 post_remove() {
-	KERNEL_VERSION='2.6.32-lts'
-	depmod $KERNEL_VERSION
+    KERNEL_VERSION='2.6.32-lts'
+    depmod $KERNEL_VERSION
 }




More information about the arch-commits mailing list