From 43b213633c1521609ef22ddc552fb310ac7e06ed Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 24 Mar 2020 18:23:07 +0100 Subject: [PATCH] fix: [docker-host] Could not find ``gpg`` on some platform. For instance debian buster (10) does not include a ``gpg`` binary by default. Signed-off-by: Valentin Lab --- precise/base-0k/hooks/install.d/20-kal-scripts.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/precise/base-0k/hooks/install.d/20-kal-scripts.sh b/precise/base-0k/hooks/install.d/20-kal-scripts.sh index 1eb8f15..7393fd2 100755 --- a/precise/base-0k/hooks/install.d/20-kal-scripts.sh +++ b/precise/base-0k/hooks/install.d/20-kal-scripts.sh @@ -17,6 +17,9 @@ if ! [ -e /etc/apt/sources.list.d/kalysto.org.list ]; then deb https://deb.kalysto.org no-dist kal-alpha kal-beta kal-main EOF + if ! type gpg >/dev/null; then + apt-get install -y --force-yes gnupg2