Author: remi
Date: 2009-07-14 11:09:09 +0200 (Tue, 14 Jul 2009)
New Revision: 5108

Modified:
   software_suite_v3/smart-core/smart-server/trunk/TDSConfiguration.py
Log:
* Users and resources configurations are now located in the default 
installation path on linux (typically /usr/share/tuxdroid/...)

Modified: software_suite_v3/smart-core/smart-server/trunk/TDSConfiguration.py
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/TDSConfiguration.py 
2009-07-14 08:55:56 UTC (rev 5107)
+++ software_suite_v3/smart-core/smart-server/trunk/TDSConfiguration.py 
2009-07-14 09:09:09 UTC (rev 5108)
@@ -86,12 +86,12 @@
 if os.name == 'nt':
     TDS_RESOURCES_CONF_PATH = os.path.join(ALLUSERSBASEDIR, "configurations", 
"resources")
 else:
-    TDS_RESOURCES_CONF_PATH = os.path.join("/etc/tuxdroid", "resources_conf")
+    TDS_RESOURCES_CONF_PATH = os.path.join(TUXDROID_BASE_PATH, 
"resources_conf")
 # Path of the user configurations
 if os.name == 'nt':
     TDS_USERS_CONF_PATH = os.path.join(ALLUSERSBASEDIR, "configurations", 
"users_conf")
 else:
-    TDS_USERS_CONF_PATH = os.path.join("/etc/tuxdroid", "users_conf")
+    TDS_USERS_CONF_PATH = os.path.join(TUXDROID_BASE_PATH, "users_conf")
 # Path of the default content of the server
 if os.name == 'nt':
     TDS_DEFAULT_CONTENT_PATH = os.path.join(ALLUSERSBASEDIR, "resources")


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to