#!/bin/bash # LGSM fn_install function # Author: Daniel Gibbs # Website: http://danielgibbs.co.uk # Version: 210115 fn_check_root fn_install_header if [ -z "${autoinstall}" ]; then fn_install_serverdir fn_install_header fi # Download and install if [ "${gamename}" == "Unreal Tournament 2004" ]; then fn_install_ut2k4filesdl fn_install_ut2k4 fn_install_ut2k4key fi if [ "${gamename}" == "Unreal Tournament 99" ]; then fn_install_ut99filesdl fn_install_ut99 fi if [ ! -z "${appid}" ]; then fn_install_steamcmd fn_install_serverfiles fn_install_steamfix fi # Configuration fn_install_glibcfix fn_install_logs fn_install_gsquery fn_install_config if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then fn_csgofix elif [ "${gamename}" == "Unreal Tournament 2004" ]; then fn_install_ut2k4fix fi fn_install_complete