mirror of
https://github.com/dokku/dokku.git
synced 2025-12-16 12:07:45 +01:00
fix: ensure software-properties-common is installed
It is necessary for add-apt-repository
This commit is contained in:
committed by
GitHub
parent
7e990963f1
commit
51add20a53
@@ -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
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user