[Lunar-commits] <moonbase> kdelibs4: Install the kde4 script provided by module.

Moritz Heiber moe at lunar-linux.org
Fri Mar 13 16:02:21 CET 2009


commit 4cc05e59816f2af6a48d30086f3845eb64329eac
Author: Moritz Heiber <moe at lunar-linux.org>
Date:   Wed Mar 5 13:54:17 2008 +0100

    kdelibs4: Install the kde4 script provided by module.
    
    We didn't do that until now.
---
 kde4/base/kdelibs4/BUILD |    3 +++
 kde4/base/kdelibs4/kde4  |    5 +++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/kde4/base/kdelibs4/BUILD b/kde4/base/kdelibs4/BUILD
index c625558..3747a55 100644
--- a/kde4/base/kdelibs4/BUILD
+++ b/kde4/base/kdelibs4/BUILD
@@ -15,4 +15,7 @@
 
   default_make
 
+  mkdir -p $MODULE_PREFIX/bin/ &&
+  install -m0755 $SCRIPT_DIRECTORY/kde4 $MODULE_PREFIX/bin/
+
 ) > $C_FIFO 2>&1
diff --git a/kde4/base/kdelibs4/kde4 b/kde4/base/kdelibs4/kde4
old mode 100755
new mode 100644
index 602b88e..015a349
--- a/kde4/base/kdelibs4/kde4
+++ b/kde4/base/kdelibs4/kde4
@@ -1,2 +1,7 @@
 #!/bin/sh
+
+if [ -e /etc/profile.d/kde4.rc ] ; then
+  source /etc/profile.d/kde4.rc
+fi
+
 ${KDE4_PREFIX}/bin/startkde


More information about the Lunar-commits mailing list