summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-07-24 01:31:17 -0400
committerIvan Alejandro <ivanalejandro0@gmail.com>2015-07-31 16:48:21 -0300
commitbe08bd222ef498dad6f4fa5902f45fc6845b86ac (patch)
treec4832c0ada70a5da3283f25fd7741d1a14d4881c
parent7fef8b6258e203ac364d0e566fe9d1490e83a5ef (diff)
[pkg] add small shell launcher for linux bundle
to workaround the incompatibility problem with Qt libs found in ubuntu
-rwxr-xr-xpkg/linux/bitmask-launcher9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/linux/bitmask-launcher b/pkg/linux/bitmask-launcher
new file mode 100755
index 00000000..550dd134
--- /dev/null
+++ b/pkg/linux/bitmask-launcher
@@ -0,0 +1,9 @@
+#!/bin/sh
+# The Bitmask Launcher
+# (c) 2015 - The LEAP Encryption Access Project
+
+[ -f libQtCore.so.4 ] || ln -s libQtCore.so.4.orig libQtCore.so.4
+[ -f libQtGui.so.4 ] || ln -s libQtGui.so.4.orig libQtGui.so.4
+cat /etc/os-release | grep ID | grep -i ubuntu && unlink libQtCore.so.4 && unlink libQtGui.so.4
+
+./bitmask-app "$@"