Browse Source

fix: [base-0k] ensure that ``lsb_release`` is available

WSL2 debian's 11 doesn't provide package ``lsb_release``
cups_service_alpha
Valentin Lab 2 years ago
parent
commit
c007240f99
  1. 4
      precise/base-0k/hooks/install.d/00-base.sh

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

@ -42,6 +42,10 @@ apt-get -y python-software-properties </dev/null ||
apt-get -y software-properties-common </dev/null
type -p lsb_release >/dev/null 2>&1 ||
apt-get install -y lsb-release </dev/null
case $(lsb_release -is) in
Ubuntu)
apt-get install -y language-pack-en </dev/null

Loading…
Cancel
Save