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

Florian Pritz bluewind at archlinux.org
Wed Oct 26 11:42:17 UTC 2011


    Date: Wednesday, October 26, 2011 @ 07:42:17
  Author: bluewind
Revision: 141207

remove superflous code/messages from install script

It's obvious that you have to load the module after update/install and we don't
restart daemons so we shouldn't remove it here either.

Modified:
  nvidia/trunk/nvidia.install

----------------+
 nvidia.install |    2 --
 1 file changed, 2 deletions(-)

Modified: nvidia.install
===================================================================
--- nvidia.install	2011-10-26 08:04:28 UTC (rev 141206)
+++ nvidia.install	2011-10-26 11:42:17 UTC (rev 141207)
@@ -1,13 +1,11 @@
 post_install() {
     EXTRAMODULES='extramodules-3.1-ARCH'
     depmod $(cat /lib/modules/$EXTRAMODULES/version)
-    echo 'In order to use nvidia module, reboot the system.'
 }
 
 post_upgrade() {
     EXTRAMODULES='extramodules-3.1-ARCH'
     depmod $(cat /lib/modules/$EXTRAMODULES/version)
-    rmmod nvidia || echo 'In order to use the new nvidia module, exit Xserver and unload it manually.'
 }
 
 post_remove() {




More information about the arch-commits mailing list