diff options
Diffstat (limited to 'media-gfx/hydrus/files/userpath-in-local-share.patch')
-rw-r--r-- | media-gfx/hydrus/files/userpath-in-local-share.patch | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/media-gfx/hydrus/files/userpath-in-local-share.patch b/media-gfx/hydrus/files/userpath-in-local-share.patch index 8b4c12be071e..02fe25868ecc 100644 --- a/media-gfx/hydrus/files/userpath-in-local-share.patch +++ b/media-gfx/hydrus/files/userpath-in-local-share.patch @@ -1,12 +1,13 @@ diff --git a/hydrus/core/HydrusConstants.py b/hydrus/core/HydrusConstants.py -index 05fff23..d68fc06 100644 +index 43a2bc8..c62943e 100644 --- a/hydrus/core/HydrusConstants.py +++ b/hydrus/core/HydrusConstants.py -@@ -67,6 +67,7 @@ if USERPATH_DB_DIR == desired_userpath_db_dir: +@@ -85,7 +85,7 @@ else: + desired_userpath_db_dir = os.path.join( '~', 'Hydrus' ) - 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' ) +-USERPATH_DB_DIR = os.path.expanduser( desired_userpath_db_dir ) ++USERPATH_DB_DIR = os.path.expanduser ( os.path.join( '~', '.local', 'share', 'hydrus', 'db' ) ) + if USERPATH_DB_DIR == desired_userpath_db_dir: + |