Merge pull request #3415 from dokku/josegonzalez-patch-1

Drop universe installation in debian
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2019-01-22 13:31:16 -05:00
commit 11f90a1112
1 file changed
+7 -1
+7 -1
View File
@@ -32,7 +32,13 @@ install-requirements() {
echo "--> Ensuring we have the proper dependencies" echo "--> Ensuring we have the proper dependencies"
case "$DOKKU_DISTRO" in case "$DOKKU_DISTRO" in
debian | ubuntu) debian)
if ! dpkg -l | grep -q software-properties-common; then
apt-get update -qq >/dev/null
apt-get -qq -y install software-properties-common
fi
;;
ubuntu)
if ! dpkg -l | grep -q software-properties-common; then if ! dpkg -l | grep -q software-properties-common; then
apt-get update -qq >/dev/null apt-get update -qq >/dev/null
apt-get -qq -y install software-properties-common apt-get -qq -y install software-properties-common