#!/bin/sh
if [ -z "$DISPLAY" ]; then
/usr/bin/openftd_console $*;
else
if [ x$1 = x--lite ]; then
LD_LIBRARY_PATH=:/usr/lib64 MOZILLA_FIVE_HOME= /usr/bin/openftd_gui_lite $*;
else
/usr/bin/openftd_gui $*;
fi
fi
