Merge pull request #4684 from dokku/4659-add-gpg-agent

Install gpg-agent in bootstrap script
This commit is contained in:
Jose Diaz-Gonzalez authored and GitHub committed 2021-07-11 22:31:12 -04:00
commit e8c3472581
1 file changed
+8
+8
View File
@@ -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