flowblade: fix launch process
Fix module path-checking to ensure that flowblade launches.
This commit is contained in:
parent
c6b8f161c2
commit
41588a33ae
2 changed files with 12 additions and 1 deletions
11
srcpkgs/flowblade/patches/00-add-bin-directories.patch
Normal file
11
srcpkgs/flowblade/patches/00-add-bin-directories.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- 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):
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'flowblade'
|
||||
pkgname=flowblade
|
||||
version=2.0
|
||||
revision=1
|
||||
revision=2
|
||||
archs=noarch
|
||||
build_wrksrc=flowblade-trunk
|
||||
build_style=python2-module
|
||||
|
|
Loading…
Reference in a new issue