From 6797dc7df196c8a8e4c184fa5aabd874b4f8d192 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 11 Jul 2021 20:58:26 -0400 Subject: [PATCH] fix: install gpg-agent in bootstrap script Closes #4659 --- bootstrap.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bootstrap.sh b/bootstrap.sh index 874d41547..e773f2729 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -44,12 +44,20 @@ install-requirements() { case "$DOKKU_DISTRO" in 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 apt-get update -qq >/dev/null apt-get -qq -y --no-install-recommends install software-properties-common fi ;; 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 apt-get update -qq >/dev/null apt-get -qq -y --no-install-recommends install software-properties-common