Unverified Commit 6ff09b25 authored by Llein's avatar Llein Committed by GitHub

Replace with simple find string at the beginning of the text

parent 68c2a672
......@@ -2408,13 +2408,9 @@ start_portwine () {
for chk_lang_and_uname in "steam_emu.ini" "steam_api.ini" "steam_api64.ini" "SteamConfig.ini" ; do
if [[ -f "${PATH_TO_GAME}/${chk_lang_and_uname}" ]] ; then
sed -i "/Language=/c\Language=${FULL_LN}" "${PATH_TO_GAME}/${chk_lang_and_uname}"
sed -i "/UserName=/c\UserName=${USER}" "${PATH_TO_GAME}/${chk_lang_and_uname}"
sed -i "/PlayerName=/c\PlayerName=${USER}" "${PATH_TO_GAME}/${chk_lang_and_uname}"
sed -i "/Language =/c\Language = ${FULL_LN}" "${PATH_TO_GAME}/${chk_lang_and_uname}"
sed -i "/UserName =/c\UserName = ${USER}" "${PATH_TO_GAME}/${chk_lang_and_uname}"
sed -i "/PlayerName =/c\PlayerName = ${USER}" "${PATH_TO_GAME}/${chk_lang_and_uname}"
sed -i "/^Language/c\Language=${FULL_LN}" "${PATH_TO_GAME}/${chk_lang_and_uname}"
sed -i "/^UserName/c\UserName=${USER}" "${PATH_TO_GAME}/${chk_lang_and_uname}"
sed -i "/^PlayerName/c\PlayerName=${USER}" "${PATH_TO_GAME}/${chk_lang_and_uname}"
fi
done
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment