fix: ensure software-properties-common is installed

It is necessary for add-apt-repository
This commit is contained in:
Jose Diaz-Gonzalez
2019-01-06 20:49:08 -05:00
committed by GitHub
parent 7e990963f1
commit 51add20a53

View File

@@ -32,6 +32,11 @@ install-requirements() {
case "$DOKKU_DISTRO" in case "$DOKKU_DISTRO" in
debian|ubuntu) debian|ubuntu)
if ! dpkg -l | grep -q software-properties-common; then
apt-get update -qq > /dev/null
apt-get -qq -y install software-properties-common
fi
add-apt-repository universe > /dev/null add-apt-repository universe > /dev/null
apt-get update -qq > /dev/null apt-get update -qq > /dev/null
;; ;;