summaryrefslogtreecommitdiff
path: root/pkg/linux
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-03-31 10:38:11 -0400
committerKali Kaneko <kali@leap.se>2016-03-31 10:38:11 -0400
commit746d76c8e6f02ba417b7fb9d47630c4e83b40126 (patch)
tree34d32abca4d318fede200f7004b14d4526b20b1a /pkg/linux
parentea9a9f09c33f4f5e6faf0a8297200f44688eb86f (diff)
[bug] workaround for incompatible qt library in ubuntu
- Resolves: #7990
Diffstat (limited to 'pkg/linux')
-rwxr-xr-xpkg/linux/bitmask-launcher15
1 files changed, 14 insertions, 1 deletions
diff --git a/pkg/linux/bitmask-launcher b/pkg/linux/bitmask-launcher
index 90ced511..3eae57c0 100755
--- a/pkg/linux/bitmask-launcher
+++ b/pkg/linux/bitmask-launcher
@@ -4,6 +4,19 @@
[ -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
+[ -f libQtNetwork.so.4 ] || ln -s libQtNetwork.so.4.orig libQtNetwork.so.4
+[ -f libQtSvg.so.4 ] || ln -s libQtSvg.so.4.orig libQtSvg.so.4
+[ -f libQtWebKit.so.4 ] || ln -s libQtWebKit.so.4.orig libQtWebKit.so.4
+[ -f libQtXmlPatterns.so.4 ] || ln -s libQtXmlPatterns.so.4.orig libQtXmlPatterns.so.4
+[ -f libQtXml.so.4 ] || ln -s libQtXml.so.4.orig libQtXml.so.4
+
+cat /etc/os-release | grep ID | grep -i ubuntu && \
+ unlink libQtCore.so.4 && \
+ unlink libQtGui.so.4 && \
+ unlink libQtNetwork.so.4 && \
+ unlink libQtSvg.so.4 && \
+ unlink libQtWebKit.so.4 && \
+ unlink libQtXmlPatterns.so.4 && \
+ unlink libQtXml.so.4
./bitmask-app --standalone "$@"