Browse Source

adding UT fix

pull/1010/head
Alexander Hurd 9 years ago
parent
commit
97f3e63c8c
  1. 8
      lgsm/functions/fix.sh
  2. 14
      lgsm/functions/fix_ut.sh

8
lgsm/functions/fix.sh

@ -43,6 +43,8 @@ if [ "${function_selfname}" != "command_install.sh" ]; then
fix_ins.sh
elif [ "${gamename}" == "ARMA 3" ]; then
fix_arma3.sh
elif [ "${gamename}" == "ARMA 3" ]; then
fix_ut.sh
fi
fi
@ -72,5 +74,11 @@ if [ "${function_selfname}" == "command_install.sh" ]; then
echo "================================="
sleep 1
fix_ut99.sh
elif [ "${gamename}" == "Unreal Tournament" ]; then
echo ""
echo "Applying ${gamename} Server Fixes"
echo "================================="
sleep 1
fix_ut.sh
fi
fi

14
lgsm/functions/fix_ut.sh

@ -0,0 +1,14 @@
#!/bin/bash
# LGSM fix_ut.sh function
# Author: Alexander Hurd
# Website: https://gameservermanagers.com
# Description: Resolves various issues with Unreal Tournament.
local commandname="FIX"
local commandaction="Fix"
local function_selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))"
#Set Binary Executable
echo "chmod +x ${executabledir}/${executable}"
chmod +x "${executabledir}/${executable}"
sleep 1
Loading…
Cancel
Save