[Lunar-commits] <moonbase> NVIDIA: fix bad applications install There was ugly bug in BUILD installer: when there was no /usr/share/applications directory the installer created /usr/share/applications file with rights 444. This way when NVIDIA was installed as first the later gtk/gnome applications (like firefox) could not create applications directory and copy to it files. The BUILD break of such gnome/gtk apps resulted in 'file already exist' error.

Zbigniew Luszpinski zbiggy at lunar-linux.org
Tue Sep 14 03:56:16 CEST 2010


commit c23c4ea9ce6fc79cb0d7aaa31749138f31437080
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Tue Sep 14 01:56:16 2010 +0000

    NVIDIA: fix bad applications install
    There was ugly bug in BUILD installer:
    when there was no /usr/share/applications directory
    the installer created /usr/share/applications file with rights 444.
    This way when NVIDIA was installed as first the later gtk/gnome
    applications (like firefox) could not create applications directory and copy to it files.
    The BUILD break of such gnome/gtk apps resulted in 'file already exist' error.
    
    Now NVIDIA creates applications directory and path so no more such stupid bug.
    If you already encounter such bug make sure /usr/share/applications is file (not directory)
    and remove it.
---
 x11/NVIDIA/BUILD |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/x11/NVIDIA/BUILD b/x11/NVIDIA/BUILD
index 3153a60..7207ac4 100644
--- a/x11/NVIDIA/BUILD
+++ b/x11/NVIDIA/BUILD
@@ -159,6 +159,7 @@
   install -m0755 nvidia_drv.so /usr/lib/xorg/modules/drivers &&
   install -m0755 libglx.so.$VERSION /usr/lib/xorg/modules/extensions &&
 
+  mkdir -p /usr/share/applications &&
   install -m0444 nvidia-settings.desktop /usr/share/applications &&
 
   mkdir -p /usr/share/doc/NVIDIA_GLX-1.0/html &&


More information about the Lunar-commits mailing list