You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/hydrus/files/userpath-in-local-share.patch

13 lines
443 B

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' )