about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorajs124 <ajs124@users.noreply.github.com>2022-06-25 15:50:27 +0200
committerGitHub <noreply@github.com>2022-06-25 15:50:27 +0200
commitde84a9b4dbdeddc20f10313bcb652e137af87654 (patch)
tree510d735580fb18f446a9133324e4ae1069c3ae33 /pkgs
parentc1c655b63de2ebc886fa1b8e594614f3c8cfd1b1 (diff)
parent03be8485b1b051dbd0b0ee19de94d8d181487338 (diff)
Merge pull request #179011 from klemensn/syncthing-gtk-remove
syncthing-gtk: Remove leftovers
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/networking/syncthing-gtk/paths.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/pkgs/applications/networking/syncthing-gtk/paths.patch b/pkgs/applications/networking/syncthing-gtk/paths.patch
deleted file mode 100644
index 0ba5a4f2db84e..0000000000000
--- a/pkgs/applications/networking/syncthing-gtk/paths.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- a/syncthing_gtk/configuration.py
-+++ b/syncthing_gtk/configuration.py
-@@ -30,7 +30,7 @@
- 		"autokill_daemon"			: (int, 2),	# 0 - never kill, 1 - always kill, 2 - ask
- 		"daemon_priority"			: (int, 0), # uses nice values
- 		"max_cpus"					: (int, 0), # 0 for all cpus
--		"syncthing_binary"			: (str, "/usr/bin/syncthing"),
-+		"syncthing_binary"			: (str, "@syncthing@"),
- 		"syncthing_arguments"		: (str, ""),
- 		"minimize_on_start"			: (bool, False),
- 		"folder_as_path"			: (bool, True),
---- a/syncthing_gtk/tools.py
-+++ b/syncthing_gtk/tools.py
-@@ -303,7 +303,7 @@
- 			return False
- 		# signal 0 doesn't kill anything, but killall exits with 1 if
- 		# named process is not found
--		p = Popen(["killall", "-u", os.environ["USER"], "-q", "-s", "0", "syncthing"])
-+		p = Popen(["@killall@", "-u", os.environ["USER"], "-q", "-s", "0", "syncthing"])
- 		p.communicate()
- 		return p.returncode == 0
- 	else: