From 51add20a534faa7418d786bc3a4ba284911e7792 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 6 Jan 2019 20:49:08 -0500 Subject: [PATCH] fix: ensure software-properties-common is installed It is necessary for add-apt-repository --- bootstrap.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index c8e28eafc..35aab6126 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -32,6 +32,11 @@ install-requirements() { case "$DOKKU_DISTRO" in 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 apt-get update -qq > /dev/null ;;