Merge "Fix add-apt-repository package for precise"

This commit is contained in:
Jenkins
2016-04-18 19:17:09 +00:00
committed by Gerrit Code Review

View File

@@ -12,6 +12,10 @@ case $DISTRO_NAME in
# 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
if [ "${DIB_RELEASE}" = "precise" ]; then
install-packages python-software-properties
else
install-packages software-properties-common
fi
;;
esac