From 297fd3af68097a349d0f73cfdbc83c89253277c3 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Sun, 14 Aug 2022 12:56:02 +0200 Subject: [PATCH] packages/docker/linux: check whether already installed --- packages/docker/linux | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/docker/linux b/packages/docker/linux index 0356a93..a4604ad 100755 --- a/packages/docker/linux +++ b/packages/docker/linux @@ -1 +1,2 @@ -wget -O- https://get.docker.com | bash +#!/bin/sh +which docker || wget -O- https://get.docker.com | bash