From f2d61037b0bd84627dff3ee52076ed7bc671e303 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Mon, 12 Apr 2021 10:53:54 +0200 Subject: [PATCH] fix: [docker-host] don't touch an already installed version of docker Signed-off-by: Valentin Lab --- precise/host/hooks/install.d/60-docker.sh | 33 ++++++++++++++--------- 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/precise/host/hooks/install.d/60-docker.sh b/precise/host/hooks/install.d/60-docker.sh index 2729da1..566a67c 100755 --- a/precise/host/hooks/install.d/60-docker.sh +++ b/precise/host/hooks/install.d/60-docker.sh @@ -1,23 +1,32 @@ #!/bin/bash -need_restart= + +just_installed= if ! type -p docker; then echo "Installing docker..." type -p curl >dev/null || apt-get install -y curl