void-packages/srcpkgs/flowblade/patches/00-add-bin-directories.patch
Jorge 41588a33ae flowblade: fix launch process
Fix module path-checking to ensure that flowblade launches.
2019-07-08 20:55:04 +02:00

11 lines
479 B
Diff

--- flowblade-trunk/flowblade 2019-02-04 02:29:07.000000000 -0700
+++ flowblade-trunk/flowblade 2019-07-06 17:48:47.295155396 -0600
@@ -34,7 +34,7 @@ print "Launch script dir:", launch_dir
# Update sys.path to include modules
# When running on distro
-if launch_dir == "/usr/bin":
+if launch_dir in {"/usr/bin", "/bin", "/usr/local/bin"}:
print "Running from installation..."
modules_path = "/usr/share/flowblade/Flowblade"
if not os.path.isdir(modules_path):