Skip to content

Commit

Permalink
skip locale installation in extra feature
Browse files Browse the repository at this point in the history
  • Loading branch information
5t111111 committed Nov 3, 2024
1 parent cb2d8c3 commit e10095b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions features/src/bedrock-extra/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ set -e
OPTIONS_LOCALE="${LOCALE:-"none"}"

if [ "$OPTIONS_LOCALE" != "none" ]; then
# Install packages
apt-get update && apt-get install -y \
locales \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

sed -i -E "s/# (${OPTIONS_LOCALE})/\1/" /etc/locale.gen
locale-gen
fi

0 comments on commit e10095b

Please sign in to comment.