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

9 lines
166 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/JediOutcast
exec ./openjo_sp.${OJ_ARCH} "$@"