Browse Source

fix: [base-0k] bogus line wouldn't install ``language-pack-en`` on ``Ubuntu`` targets.

postgres
Valentin Lab 8 years ago
parent
commit
c0fc32f0c2
  1. 2
      precise/base-0k/hooks/install.d/00-base.sh

2
precise/base-0k/hooks/install.d/00-base.sh

@ -9,7 +9,7 @@ apt-get -y --force-yes install bash-completion wget bzip2 git-core \
case $(lsb_release -is) in case $(lsb_release -is) in
Ubuntu) Ubuntu)
apt-get -y --force-yes language-pack-en </dev/null
apt-get install -y --force-yes language-pack-en </dev/null
;; ;;
Debian) Debian)
sed -ri 's/^\s*#\s*(en_US\.UTF-?8.*)\s*$/\1/g' /etc/locale.gen sed -ri 's/^\s*#\s*(en_US\.UTF-?8.*)\s*$/\1/g' /etc/locale.gen

Loading…
Cancel
Save