recipes: tde/tqt3: add support for trinity's binaries location
[dragora.git] / archive / tqt3 / etc / profile.d / tqt3.sh
blob02e896d53e64a192c4ac2b8c95159ddcd65c83f9
2 # Set QTDIR if unset
4 test -n "${QTDIR+$QTDIR}" || QTDIR=/opt/trinity/lib/tqt3
6 export QTDIR
8 # Expand Trinity's binaries path (if not already added)
10 if ! printf "%s\n" "$PATH" | grep -q /opt/trinity/bin
11 then
12 PATH="${PATH}:/opt/trinity/bin"
13 export PATH