[maemo-commits] [maemo-commits] r18213 - projects/haf/trunk/maemo-launcher/debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon May 4 12:45:09 EEST 2009
Author: makarhun
Date: 2009-05-04 12:45:03 +0300 (Mon, 04 May 2009)
New Revision: 18213

Added:
   projects/haf/trunk/maemo-launcher/debian/maemo-launcher.Xsession-restart
Modified:
   projects/haf/trunk/maemo-launcher/debian/rules
Log:
initial versions of suw restart scripts

Added: projects/haf/trunk/maemo-launcher/debian/maemo-launcher.Xsession-restart
===================================================================
--- projects/haf/trunk/maemo-launcher/debian/maemo-launcher.Xsession-restart	2009-05-04 09:40:45 UTC (rev 18212)
+++ projects/haf/trunk/maemo-launcher/debian/maemo-launcher.Xsession-restart	2009-05-04 09:45:03 UTC (rev 18213)
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "${LOCALE_SET_BY_SUW}" = "yes" ] ;
+then
+  kill -15 `pidof maemo-launcher`
+  sleep 2
+  . /etc/X11/Xsession.d/02maemo-launcher
+fi

Modified: projects/haf/trunk/maemo-launcher/debian/rules
===================================================================
--- projects/haf/trunk/maemo-launcher/debian/rules	2009-05-04 09:40:45 UTC (rev 18212)
+++ projects/haf/trunk/maemo-launcher/debian/rules	2009-05-04 09:45:03 UTC (rev 18213)
@@ -61,6 +61,9 @@
 	
 	install -D $(CURDIR)/debian/maemo-launcher.Xsession \
 		$(CURDIR)/debian/tmp/etc/X11/Xsession.d/02maemo-launcher
+
+	install -D $(CURDIR)/debian/maemo-launcher.Xsession-restart \
+		$(CURDIR)/debian/tmp/etc/X11/Xsession.d/42maemo-launcher
 	
 	cp $(CURDIR)/debian/dh_maemolauncher \
 	   $(CURDIR)/debian/tmp/usr/bin


More information about the maemo-commits mailing list