From 1da56fd41ec8850948bb0a23b29fedc2a1b29a67 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Sun, 4 Apr 2021 07:26:03 +0200 Subject: [PATCH] new: [host] check if curl is already installed This was needed in debian 10. Signed-off-by: Valentin Lab --- precise/host/hooks/install.d/60-docker.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/precise/host/hooks/install.d/60-docker.sh b/precise/host/hooks/install.d/60-docker.sh index 6c4bc33..2729da1 100755 --- a/precise/host/hooks/install.d/60-docker.sh +++ b/precise/host/hooks/install.d/60-docker.sh @@ -3,6 +3,9 @@ need_restart= if ! type -p docker; then echo "Installing docker..." + type -p curl >dev/null || + apt-get install -y curl