[hamster-applet] setting correct mode for the executables and refreshing gconf-schemas when finished



commit 453bdfb750142b0643d68a3e94f087ef1e459730
Author: Toms Bauģis <toms baugis gmail com>
Date:   Tue May 25 23:55:10 2010 +0100

    setting correct mode for the executables and refreshing gconf-schemas when finished

 wscript |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/wscript b/wscript
index 7f479f3..dd793b5 100644
--- a/wscript
+++ b/wscript
@@ -28,8 +28,13 @@ def configure(conf):
     conf.sub_config("help")
 
 def build(bld):
-    bld.install_files('${LIBDIR}/hamster-applet', 'src/hamster-applet')
-    bld.install_files('${BINDIR}', 'src/hamster-standalone src/gnome-time-tracker src/hamster-client src/hamster-service')
+    bld.install_files('${LIBDIR}/hamster-applet', 'src/hamster-applet', chmod = 0755)
+    bld.install_files('${BINDIR}',
+                      """src/hamster-standalone
+                         src/gnome-time-tracker
+                         src/hamster-client
+                         src/hamster-service""",
+                      chmod = 0755)
 
 
     # set correct flags in defs.py
@@ -56,7 +61,7 @@ def build(bld):
     def post(ctx):
         # Postinstall tasks:
         # gnome.postinstall_scrollkeeper('hamster-applet') # Installing the user docs
-        # gnome.postinstall_schemas('hamster-applet') # Installing GConf schemas
+        gnome.postinstall_schemas('hamster-applet') # Installing GConf schemas
         gnome.postinstall_icons() # Updating the icon cache
 
     bld.add_post_fun(post)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]