2012-12-14 00:25:18 +00:00
|
|
|
#!/bin/bash
|
|
|
|
# Install baseline packages and tools.
|
|
|
|
|
2014-09-04 04:56:29 +00:00
|
|
|
if [ ${DIB_DEBUG_TRACE:-0} -gt 0 ]; then
|
|
|
|
set -x
|
|
|
|
fi
|
2014-04-03 02:24:15 +00:00
|
|
|
set -eu
|
|
|
|
set -o pipefail
|
2012-12-14 00:25:18 +00:00
|
|
|
|
2014-06-26 20:44:11 +00:00
|
|
|
case $DISTRO_NAME in
|
|
|
|
'ubuntu'|'debian')
|
2014-05-02 17:02:38 +00:00
|
|
|
# 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
|
|
|
|
;;
|
2013-02-13 22:16:00 +00:00
|
|
|
esac
|