revert legacy check var LANGUAGE
This commit is contained in:
parent
3312214b00
commit
393a21a960
@ -41,6 +41,14 @@ change_locale () {
|
||||
LANGUAGE=$(<"${PORT_WINE_TMP_PATH}/PortProton_loc")
|
||||
fi
|
||||
|
||||
if [[ "$LANGUAGE" == "RUS" ]] ; then
|
||||
LANGUAGE="ru"
|
||||
echo "ru" > "${PORT_WINE_TMP_PATH}/PortProton_loc"
|
||||
elif [[ "$LANGUAGE" == "ENG" ]] ; then
|
||||
LANGUAGE="en"
|
||||
echo "en" > "${PORT_WINE_TMP_PATH}/PortProton_loc"
|
||||
fi
|
||||
|
||||
if [[ ! -z "${LANGUAGE}" ]] \
|
||||
&& [[ ! -f "${PORT_WINE_TMP_PATH}/PortProton_loc" ]]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user