Skip to content

Commit 699bbbc

Browse files
author
ryan.kuba
committed
universal: internationalization initial release
1 parent 5c6f428 commit 699bbbc

File tree

1 file changed

+4
-2
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-mod-universal-internationalization-install

1 file changed

+4
-2
lines changed

root/etc/s6-overlay/s6-rc.d/init-mod-universal-internationalization-install/run

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ if [[ "${LSIO_BASE}" == "alpine" ]] && [[ ! -f /usr/share/fonts/noto/NotoSansCJK
2828
font-noto-emoji \
2929
lang
3030
elif [[ "${LSIO_BASE}" == "ubuntu" ]] && [[ ! -f /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc ]]; then
31-
apt-get update && \
31+
rm -f /etc/apt/apt.conf.d/docker-no-languages
32+
apt-get update
3233
apt-get install -y \
3334
fonts-noto \
3435
language-pack-af \
@@ -116,7 +117,8 @@ elif [[ "${LSIO_BASE}" == "ubuntu" ]] && [[ ! -f /usr/share/fonts/opentype/noto/
116117
language-pack-zh-hans \
117118
language-pack-zh-hant
118119
elif [[ "${LSIO_BASE}" == "debian" ]] && [[ ! -f /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc ]]; then
119-
apt-get update && \
120+
rm -f /etc/apt/apt.conf.d/docker-no-languages
121+
apt-get update
120122
apt-get install -y \
121123
fonts-noto \
122124
locales-all

0 commit comments

Comments
 (0)