File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
root/etc/s6-overlay/s6-rc.d/init-mod-universal-internationalization-install Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ if [[ "${LSIO_BASE}" == "alpine" ]] && [[ ! -f /usr/share/fonts/noto/NotoSansCJK
4141 lang
4242elif [[ "${LSIO_BASE}" == "ubuntu" ]] && [[ ! -f /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc ]]; then
4343 # Install fonts and locales
44+ sed -i \
45+ '/locale/d' \
46+ /etc/dpkg/dpkg.cfg.d/excludes
4447 apt-get update
4548 apt-get install -y \
4649 fonts-noto \
@@ -130,6 +133,9 @@ elif [[ "${LSIO_BASE}" == "ubuntu" ]] && [[ ! -f /usr/share/fonts/opentype/noto/
130133 language-pack-zh-hant
131134elif [[ "${LSIO_BASE}" == "debian" ]] && [[ ! -f /usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc ]]; then
132135 # Install fonts and locales
136+ sed -i \
137+ '/locale/d' \
138+ /etc/dpkg/dpkg.cfg.d/docker
133139 apt-get update
134140 apt-get install -y \
135141 fonts-noto \
@@ -141,6 +147,7 @@ elif [[ "${LSIO_BASE}" == "debian" ]] && [[ ! -f /usr/share/fonts/opentype/noto/
141147 done
142148elif [[ "${LSIO_BASE}" == "fedora" ]] && [[ ! -d /usr/share/licenses/google-noto-cjk-fonts-common ]]; then
143149 # Install fonts and locales
150+ rm -f /etc/rpm/macros.image-language-conf
144151 dnf install -y \
145152 glibc-langpack-aa \
146153 glibc-langpack-af \
@@ -716,6 +723,9 @@ elif [[ "${LSIO_BASE}" == "fedora" ]] && [[ ! -d /usr/share/licenses/google-noto
716723 done
717724elif [[ "${LSIO_BASE}" == "arch" ]] && [[ ! -f /usr/share/fonts/noto-cjk/NotoSansCJK-Regular.ttc ]]; then
718725 # Install fonts
726+ sed -i \
727+ '/locale/d' \
728+ /etc/pacman.conf
719729 pacman -Sy --noconfirm \
720730 glibc \
721731 noto-fonts-cjk \
You can’t perform that action at this time.
0 commit comments