Browse Source

new: [host] check if curl is already installed

This was needed in debian 10.

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
pull/1/head
Valentin Lab 4 years ago
parent
commit
1da56fd41e
  1. 3
      precise/host/hooks/install.d/60-docker.sh

3
precise/host/hooks/install.d/60-docker.sh

@ -3,6 +3,9 @@
need_restart= need_restart=
if ! type -p docker; then if ! type -p docker; then
echo "Installing docker..." echo "Installing docker..."
type -p curl >dev/null ||
apt-get install -y curl </dev/null
curl -sSL https://get.docker.io | sh curl -sSL https://get.docker.io | sh
fi fi

Loading…
Cancel
Save