diff options
author | Kali Kaneko <kali@leap.se> | 2016-03-31 10:38:11 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-03-31 10:38:11 -0400 |
commit | 746d76c8e6f02ba417b7fb9d47630c4e83b40126 (patch) | |
tree | 34d32abca4d318fede200f7004b14d4526b20b1a /pkg/linux/bitmask-launcher | |
parent | ea9a9f09c33f4f5e6faf0a8297200f44688eb86f (diff) |
[bug] workaround for incompatible qt library in ubuntu
- Resolves: #7990
Diffstat (limited to 'pkg/linux/bitmask-launcher')
-rwxr-xr-x | pkg/linux/bitmask-launcher | 15 |
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 "$@" |