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")
|
LANGUAGE=$(<"${PORT_WINE_TMP_PATH}/PortProton_loc")
|
||||||
fi
|
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}" ]] \
|
if [[ ! -z "${LANGUAGE}" ]] \
|
||||||
&& [[ ! -f "${PORT_WINE_TMP_PATH}/PortProton_loc" ]]
|
&& [[ ! -f "${PORT_WINE_TMP_PATH}/PortProton_loc" ]]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user