Browse Source

Added installer menu

pull/597/head
Daniel Gibbs 9 years ago
parent
commit
beb21dd117
  1. 2
      functions/fix.sh
  2. 4
      functions/fix_ro.sh

2
functions/fix.sh

@ -22,6 +22,8 @@ fi
if [ "${function_selfname}" == "command_install.sh" ]; then
fix_glibc.sh
echo "Applying ${gamename} Server Fixes"
echo "================================="
if [ "${gamename}" == "Killing Floor" ]; then
fix_kf.sh
elif [ "${gamename}" == "Red Orchestra: Ostfront 41-45" ]; then

4
functions/fix_ro.sh

@ -6,12 +6,12 @@ lgsm_version="271215"
echo "Applying ${gamename} Server Fixes"
echo "================================="
echo "Applying WebAdmin ROOst.css fix!"
echo "Applying WebAdmin ROOst.css fix."
echo "http://forums.tripwireinteractive.com/showpost.php?p=585435&postcount=13"
sed -i 's/none}/none;/g' "${filesdir}/Web/ServerAdmin/ROOst.css"
sed -i 's/underline}/underline;/g' "${filesdir}/Web/ServerAdmin/ROOst.css"
sleep 1
echo "Applying WebAdmin CharSet fix!"
echo "Applying WebAdmin CharSet fix."
echo "http://forums.tripwireinteractive.com/showpost.php?p=442340&postcount=1"
sed -i 's/CharSet="iso-8859-1"/CharSet="utf-8"/g' "${systemdir}/uweb.int"
sleep 1

Loading…
Cancel
Save