void-packages/srcpkgs/OpenJK/files/openjk
Kenneth Dodrill 0098d6d605 New package: OpenJK-0.0.20210922
* Review fixes
2021-10-02 18:53:02 +02:00

9 lines
163 B
Bash

#! /bin/sh
OJ_ARCH=$(uname -m)
case "$OJ_ARCH" in
arm*) OJ_ARCH=arm;;
i*86*) OJ_ARCH=i386;;
esac
cd /usr/lib/OpenJK/JediAcademy
exec ./openjk.${OJ_ARCH} "$@"