summarylogtreecommitdiffstats
path: root/inspire.sh
blob: 2f2aa0eaf5742a6b9308066204ccbd3d118dce1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# This script launches ActivInspire. It is partially based on the upstream launch script, with obsolete and Ubuntu-specific stuff fixed or removed.

cd /opt/activsoftware

# Promethean ships ActivInspire with a bunch of libraries. We can't recompile it and there are less problems when using these library versions.
export LD_LIBRARY_PATH="/opt/activsoftware:$LD_LIBRARY_PATH"
#export QTWEBENGINEPROCESS_PATH="/opt/activsoftware/QtWebEngineProcess"

# Launch and open the file if one was given as an argument.
./Inspire "$@"

# This is a lock file. Since ActivInspire hangs when attempting to close it, it never gets deleted, causing problems.
rm -f /dev/shm/sem.promethean