summarylogtreecommitdiffstats
path: root/paths-in-opt.patch
blob: f00f56cac045307feb5caa5939d8183cb8bd128c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff --git a/hydrus/core/HydrusConstants.py b/hydrus/core/HydrusConstants.py
index 7acfc915..6d77815a 100644
--- a/hydrus/core/HydrusConstants.py
+++ b/hydrus/core/HydrusConstants.py
@@ -81,7 +81,7 @@ BIN_DIR = os.path.join( BASE_DIR, 'bin' )
 HELP_DIR = os.path.join( BASE_DIR, 'help' )
 INCLUDE_DIR = os.path.join( BASE_DIR, 'include' )
 
-DEFAULT_DB_DIR = os.path.join( BASE_DIR, 'db' )
+DEFAULT_DB_DIR = os.path.expanduser( '~/.local/share/hydrus/db' )
 
 if PLATFORM_MACOS:
     
@@ -92,7 +92,7 @@ else:
     desired_userpath_db_dir = os.path.join( '~', 'Hydrus' )
     
 
-USERPATH_DB_DIR = os.path.expanduser( desired_userpath_db_dir )
+USERPATH_DB_DIR = None
 
 if USERPATH_DB_DIR == desired_userpath_db_dir:
     
@@ -103,7 +103,7 @@ if USERPATH_DB_DIR == desired_userpath_db_dir:
 
 WE_SWITCHED_TO_USERPATH = False
 
-LICENSE_PATH = os.path.join( BASE_DIR, 'license.txt' )
+LICENSE_PATH = '/usr/share/licenses/hydrus/license.txt'
 
 #