From 7fbadeae9c275c66515d28c09c6e6b525c5f8de4 Mon Sep 17 00:00:00 2001 From: Marvin Lehmann Date: Sat, 21 Oct 2017 18:33:37 +0200 Subject: [PATCH] Improved RegEx for CS:GO fix --- lgsm/functions/fix_csgo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/fix_csgo.sh b/lgsm/functions/fix_csgo.sh index 5eca2f6eb..f76a4f5d2 100644 --- a/lgsm/functions/fix_csgo.sh +++ b/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