From be08bd222ef498dad6f4fa5902f45fc6845b86ac Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Fri, 24 Jul 2015 01:31:17 -0400 Subject: [pkg] add small shell launcher for linux bundle to workaround the incompatibility problem with Qt libs found in ubuntu --- pkg/linux/bitmask-launcher | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 pkg/linux/bitmask-launcher 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 "$@" -- cgit v1.2.3