blob: 3f604812d8a268faafcaff4760c2aaf60d8831ba (
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
|
diff --git a/hydrus/core/HydrusConstants.py b/hydrus/core/HydrusConstants.py
index 06d093c8..8dad3152 100644
--- a/hydrus/core/HydrusConstants.py
+++ b/hydrus/core/HydrusConstants.py
@@ -53,9 +53,9 @@ if BASE_DIR == '':
BIN_DIR = os.path.join( CONTENT_BASE_DIR, 'bin' )
HELP_DIR = os.path.join( CONTENT_BASE_DIR, 'help' )
-LICENSE_PATH = os.path.join( CONTENT_BASE_DIR, 'LICENSE' )
+LICENSE_PATH = '/usr/share/licenses/hydrus/LICENSE'
-DEFAULT_DB_DIR = os.path.join( BASE_DIR, 'db' )
+DEFAULT_DB_DIR = os.path.expanduser( '~/.local/share/hydrus/db' )
#
@@ -109,7 +109,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:
|