summarylogtreecommitdiffstats
path: root/transition.sh
blob: 13e38aeafdfc5f46a0a0e5f02d1f76b3d40a293c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
# Having this variable set can make transition segfault
unset SESSION_MANAGER

# If default openssl is 1.1.1, the updater will crash
export LD_RUN_PATH=/usr/lib/openssl-1.0

transition=/opt/ankama/transition/transition

# If in PulseAudio, need padsp for the game to play sounds
if which padsp > /dev/null
then
  padsp "$transition" "$@"
else
  "$transition" "$@"
fi