summarylogtreecommitdiffstats
path: root/paths-in-opt.patch
diff options
context:
space:
mode:
authorScore_Under2017-01-24 18:38:49 +0000
committerScore_Under2017-01-24 18:38:49 +0000
commit142e20f98d97545128d0f072c7dbddd26b145c2c (patch)
tree368a505c43538c5fa888850245cc9b2853dbb6e8 /paths-in-opt.patch
parent1a3bd5c99e5fab6eed164eb4102d073b11330335 (diff)
downloadaur-142e20f98d97545128d0f072c7dbddd26b145c2c.tar.gz
Update for v241
Diffstat (limited to 'paths-in-opt.patch')
-rw-r--r--paths-in-opt.patch21
1 files changed, 8 insertions, 13 deletions
diff --git a/paths-in-opt.patch b/paths-in-opt.patch
index facd38a72da9..c2237773cf08 100644
--- a/paths-in-opt.patch
+++ b/paths-in-opt.patch
@@ -1,17 +1,8 @@
diff --git a/include/ClientGUI.py b/include/ClientGUI.py
-index 3db6a1a..4a310f2 100755
+index db5a7e7..b12df2c 100755
--- a/include/ClientGUI.py
+++ b/include/ClientGUI.py
-@@ -219,7 +219,7 @@ class FrameGUI( ClientGUITopLevelWindows.FrameThatResizes ):
-
- aboutinfo.SetDescription( description )
-
-- with open( os.path.join( HC.BASE_DIR, 'license.txt' ), 'rb' ) as f: license = f.read()
-+ with open( '/usr/share/licenses/hydrus/license.txt', 'rb' ) as f: license = f.read()
-
- aboutinfo.SetLicense( license )
-
-@@ -378,7 +378,7 @@ class FrameGUI( ClientGUITopLevelWindows.FrameThatResizes ):
+@@ -383,7 +383,7 @@ class FrameGUI( ClientGUITopLevelWindows.FrameThatResizes ):
python_executable = python_executable.replace( 'pythonw', 'python' )
@@ -21,10 +12,10 @@ index 3db6a1a..4a310f2 100755
time_waited = 0
diff --git a/include/HydrusConstants.py b/include/HydrusConstants.py
-index 3f5f659..8807427 100755
+index 2cbc4b0..13038df 100755
--- a/include/HydrusConstants.py
+++ b/include/HydrusConstants.py
-@@ -3,27 +3,12 @@ import sys
+@@ -3,30 +3,15 @@ import sys
# dirs
@@ -56,5 +47,9 @@ index 3f5f659..8807427 100755
+INCLUDE_DIR = "/opt/hydrus/include"
+STATIC_DIR = "/opt/hydrus/static"
+ DEFAULT_DB_DIR = os.path.join( BASE_DIR, 'db' )
+-LICENSE_PATH = os.path.join( BASE_DIR, 'license.txt' )
++LICENSE_PATH = "/usr/share/licenses/hydrus/license.txt"
+
#