Browse Source

Improved RegEx for CS:GO fix

pull/1661/head
Marvin Lehmann 8 years ago
committed by GitHub
parent
commit
7fbadeae9c
  1. 2
      lgsm/functions/fix_csgo.sh

2
lgsm/functions/fix_csgo.sh

@ -20,7 +20,7 @@ fi
if [ -f "${systemdir}/botprofile.db" ] && grep "^\s*Rank" "${systemdir}/botprofile.db" > /dev/null 2>&1; then
fixname="botprofile.db"
fn_fix_msg_start
sed -i 's/\s*Rank/\t\/\/Rank/g' "${systemdir}/botprofile.db" > /dev/null 2>&1
sed -i 's/^\s*Rank/\t\/\/Rank/g' "${systemdir}/botprofile.db" > /dev/null 2>&1
fn_fix_msg_end
fi

Loading…
Cancel
Save