void-packages/srcpkgs/OpenJK/files/openjk

10 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} "$@"