mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
universal: internationalization initial release
This commit is contained in:
@@ -26,6 +26,9 @@ else
|
|||||||
if grep -q 'ID=ubuntu' /etc/os-release || grep -q 'ID=debian' /etc/os-release; then
|
if grep -q 'ID=ubuntu' /etc/os-release || grep -q 'ID=debian' /etc/os-release; then
|
||||||
echo 'Acquire::Languages "'${LC_ALL:0:2}'";' > /etc/apt/apt.conf.d/docker-no-languages
|
echo 'Acquire::Languages "'${LC_ALL:0:2}'";' > /etc/apt/apt.conf.d/docker-no-languages
|
||||||
fi
|
fi
|
||||||
|
# Set additional env vars for app compatibility
|
||||||
|
printf "${LC_ALL}" > /run/s6/container_environment/LANGUAGE
|
||||||
|
printf "${LC_ALL}" > /run/s6/container_environment/LANG
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Install pacakges and fonts
|
# Install pacakges and fonts
|
||||||
|
|||||||
Reference in New Issue
Block a user