summarylogtreecommitdiffstats
path: root/paths-in-opt.patch
diff options
context:
space:
mode:
authorScore_Under2017-06-12 12:40:35 +0100
committerScore_Under2017-06-12 12:40:35 +0100
commitc2e4933c3dfc038ea9503b12c99ae364eb94711f (patch)
treea09301f3e8b18a50f4c3a43573fb50b9eec36c3b /paths-in-opt.patch
parentb27fde4d6f8949ea0a6b3250cec485d801f4d094 (diff)
downloadaur-c2e4933c3dfc038ea9503b12c99ae364eb94711f.tar.gz
Update for v259
Diffstat (limited to 'paths-in-opt.patch')
-rw-r--r--paths-in-opt.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/paths-in-opt.patch b/paths-in-opt.patch
index 8002087d61e1..36c05a157242 100644
--- a/paths-in-opt.patch
+++ b/paths-in-opt.patch
@@ -1,18 +1,18 @@
diff --git a/include/ClientGUI.py b/include/ClientGUI.py
-index d5efb6c..340830d 100755
+index 92828e0..297bd0e 100755
--- a/include/ClientGUI.py
+++ b/include/ClientGUI.py
-@@ -394,7 +394,7 @@ class FrameGUI( ClientGUITopLevelWindows.FrameThatResizes ):
+@@ -476,7 +476,7 @@ class FrameGUI( ClientGUITopLevelWindows.FrameThatResizes ):
python_executable = python_executable.replace( 'pythonw', 'python' )
-- subprocess.Popen( [ python_executable, os.path.join( HC.BASE_DIR, 'server.py' ), db_dir ] )
-+ subprocess.Popen( [ python_executable, '/opt/hydrus/server.py', db_dir ] )
+- server_script_path = os.path.join( HC.BASE_DIR, 'server.py' )
++ server_script_path = '/opt/hydrus/server.py'
+
+ cmd = '"' + python_executable + '" "' + server_script_path + '" ' + db_param
-
- time_waited = 0
diff --git a/include/HydrusConstants.py b/include/HydrusConstants.py
-index 7565ea3..74fe741 100755
+index bb0a939..8e690e1 100755
--- a/include/HydrusConstants.py
+++ b/include/HydrusConstants.py
@@ -3,30 +3,15 @@ import sys