blob: 967d12062f1d9a804a56845fb170788da8ccf19b (
plain)
1
2
3
4
5
6
7
8
9
|
#!/bin/sh
MYDIR="$(dirname "$(readlink -f "${0}")")"
id -nG --zero | grep -q 'games' --null-data --line-regexp
if [ "${?}" -ne 0 ]; then
zenity --error --text="Your user must be in 'games' group."
exit 1
fi
LD_LIBRARY_PATH="${MYDIR}/../lib/open-hexagon${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" "${MYDIR}/../lib/open-hexagon/SSVOpenHexagon"
|