SF.net SVN: morphix: [2260] trunk/scripts-main/matchbox

[email protected]
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2260
Author:   bmsleight
Date:     2006-05-27 06:44:48 -0700 (Sat, 27 May 2006)
ViewCVS:  http://svn.sourceforge.net/morphix/?rev=2260&view=rev

Log Message:
-----------
using /etc/skel/.persistent-app so user has permissions to write to this file

Modified Paths:
--------------
    trunk/scripts-main/matchbox/Makefile
    trunk/scripts-main/matchbox/launch_persistent-app.sh
    trunk/scripts-main/matchbox/persistent-app
Modified: trunk/scripts-main/matchbox/Makefile
===================================================================
--- trunk/scripts-main/matchbox/Makefile	2006-05-26 23:17:26 UTC (rev 2259)
+++ trunk/scripts-main/matchbox/Makefile	2006-05-27 13:44:48 UTC (rev 2260)
@@ -7,18 +7,18 @@
 	mkdir -p $(DESTDIR)/morphix
 	mkdir -p $(DESTDIR)/etc
 	mkdir -p $(DESTDIR)/etc/skel
-	mkdir -p $(DESTDIR)/etc/skel/.xscreensaver
-	cp -a ./include.sh ./main_module ./launch_persistent-app.sh ./persistent-app ./matchbox-session $(DESTDIR)/morphix/
+	mkdir -p $(DESTDIR)/etc/skel/.matchbox
+	cp -a ./include.sh ./main_module ./launch_persistent-app.sh  ./matchbox-session $(DESTDIR)/morphix/
 	chmod a+x $(DESTDIR)/morphix/matchbox-session
 	chmod a+x $(DESTDIR)/morphix/launch_persistent-app.sh
-	chmod a+x $(DESTDIR)/morphix/persistent-app	
+	cp -a ./persistent-app $(DESTDIR)/etc/skel/.persistent-app
 	cp -a ./kbdconfig ./mbdock.session $(DESTDIR)/etc/skel/.matchbox/
 
 remove:
 	rm $(DESTDIR)/morphix/include.sh
 	rm $(DESTDIR)/morphix//main_module 
 	rm $(DESTDIR)/morphix/launch_persistent-app.sh
-	rm $(DESTDIR)/morphix/persistent-app 
 	rm $(DESTDIR)/morphix/matchbox-session
+	rm $(DESTDIR)/etc/skel/.persistent-app 
 	rm $(DESTDIR)/etc/skel/.matchbox/kbdconfig
 	rm $(DESTDIR)/etc/skel/.matchbox/mbdock.session

Modified: trunk/scripts-main/matchbox/launch_persistent-app.sh
===================================================================
--- trunk/scripts-main/matchbox/launch_persistent-app.sh	2006-05-26 23:17:26 UTC (rev 2259)
+++ trunk/scripts-main/matchbox/launch_persistent-app.sh	2006-05-27 13:44:48 UTC (rev 2260)
@@ -1,7 +1,7 @@
 #!/bin/bash
   while [ 1 ]
   do
-    sh /morphix/persistent-app
+    sh ~/.persistent-app
     sleep 10
   done
-fi
\ No newline at end of file
+fi

Modified: trunk/scripts-main/matchbox/persistent-app
===================================================================
--- trunk/scripts-main/matchbox/persistent-app	2006-05-26 23:17:26 UTC (rev 2259)
+++ trunk/scripts-main/matchbox/persistent-app	2006-05-27 13:44:48 UTC (rev 2260)
@@ -1,7 +1,8 @@
 #!/bin/sh
 #
-# Echo Add persistent applcation below. 
+# Echo Add persistent application below. 
 # Once this scripts finished it will be re-run after 10s
 #
 # See MorphixMini-PersistentApp.xml
-#
\ No newline at end of file
+# file is ~/.persistent-app
+#


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.