4ca059f9d9
The $DISTRO_NAME var is now set in all of the OS elements in environment.d. This patch removes the call to lsb_release and instead uses the $DISTRO_NAME variable. Change-Id: I7088eb88b6a3611fef5a21a6b62975876549465f
15 lines
378 B
Bash
Executable File
15 lines
378 B
Bash
Executable File
#!/bin/bash
|
|
# Install baseline packages and tools.
|
|
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
case $DISTRO_NAME in
|
|
'ubuntu'|'debian')
|
|
# Note: add-apt-repository would be nice for RPM platforms too - so when we
|
|
# need something like it, create a wrapper in dpkg/bin and fedora/bin.
|
|
apt-get -y update
|
|
install-packages python-software-properties
|
|
;;
|
|
esac
|