[tuxdroid-svn] r5108 - software_suite_v3/smart-core/smart-server/trunk
Status: Beta
Brought to you by:
ks156
|
From: remi <c2m...@c2...> - 2009-07-14 09:09:20
|
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")
|