Merge pull request #4684 from dokku/4659-add-gpg-agent
Install gpg-agent in bootstrap script
This commit is contained in:
1 file changed
+8
@@ -44,12 +44,20 @@ install-requirements() {
|
|||||||
|
|
||||||
case "$DOKKU_DISTRO" in
|
case "$DOKKU_DISTRO" in
|
||||||
debian)
|
debian)
|
||||||
|
if ! dpkg -l | grep -q gpg-agent; then
|
||||||
|
apt-get update -qq >/dev/null
|
||||||
|
apt-get -qq -y --no-install-recommends install gpg-agent
|
||||||
|
fi
|
||||||
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 --no-install-recommends install software-properties-common
|
apt-get -qq -y --no-install-recommends install software-properties-common
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
ubuntu)
|
ubuntu)
|
||||||
|
if ! dpkg -l | grep -q gpg-agent; then
|
||||||
|
apt-get update -qq >/dev/null
|
||||||
|
apt-get -qq -y --no-install-recommends install gpg-agent
|
||||||
|
fi
|
||||||
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 --no-install-recommends install software-properties-common
|
apt-get -qq -y --no-install-recommends install software-properties-common
|
||||||
|
|||||||
Reference in new issue
Block a user