flowblade: support usr merge

This commit is contained in:
Đoàn Trần Công Danh 2020-10-10 06:25:51 +07:00
parent 1a9332c9aa
commit a2101c2baf
2 changed files with 14 additions and 1 deletions

View file

@ -0,0 +1,13 @@
diff --git flowblade-trunk/flowblade flowblade-trunk/flowblade
index faeba629..9acad76e 100755
--- flowblade-trunk/flowblade
+++ flowblade-trunk/flowblade
@@ -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 os.path.realpath(launch_dir) == "/usr/bin":
print ("Running from installation...")
modules_path = "/usr/share/flowblade/Flowblade"
if not os.path.isdir(modules_path):

View file

@ -1,7 +1,7 @@
# Template file for 'flowblade'
pkgname=flowblade
version=2.6
revision=1
revision=2
build_wrksrc=flowblade-trunk
build_style=python3-module
make_install_args="--install-lib=${DESTDIR}/usr/share/pyshared"