summaryrefslogtreecommitdiff
path: root/media-gfx/hydrus/files/userpath-in-local-share.patch
blob: 8b4c12be071e9feb7f04b851a2303eb770b729a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/hydrus/core/HydrusConstants.py b/hydrus/core/HydrusConstants.py
index 05fff23..d68fc06 100644
--- a/hydrus/core/HydrusConstants.py
+++ b/hydrus/core/HydrusConstants.py
@@ -67,6 +67,7 @@ if USERPATH_DB_DIR == desired_userpath_db_dir:
     
     USERPATH_DB_DIR = None
     
+USERPATH_DB_DIR = os.path.expanduser ( os.path.join( '~', '.local', 'share', 'hydrus', 'db' ) )
 
 LICENSE_PATH = os.path.join( BASE_DIR, 'license.txt' )