diskimage-builder/elements/base/pre-install.d/03-baseline-tools
Gonéri Le Bouder ea3f4dd459 4 spaces indent
ensure 4 spaces indentation is used everywhere.

Change-Id: Ieb48faacb4c96b7b358771d70c17f2f22d0354f4
2014-05-10 11:17:29 +02:00

18 lines
453 B
Bash
Executable File

#!/bin/bash
# Install baseline packages and tools.
set -eu
set -o pipefail
# If lsb_release is missing, just do nothing.
DISTRO=`lsb_release -si` || true
case $DISTRO 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