2015-05-05 00:56:54 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Startup script for widelands to recognize the user's LANG setting, if any.
|
|
|
|
|
2015-05-05 10:42:09 +02:00
|
|
|
WL_DATA="/usr/share/widelands"
|
2015-05-05 00:56:54 +02:00
|
|
|
WL_LOCALE="$WL_DATA/locale"
|
|
|
|
WL_LANG="$LANG"
|
|
|
|
[ -z "$WL_LANG" ] && WL_LANG="en_US.UTF-8"
|
|
|
|
|
2015-05-05 10:42:09 +02:00
|
|
|
exec /usr/share/widelands/widelands --datadir="$WL_DATA" --localedir="$WL_LOCALE" --language="$WL_LANG"
|