From 2eb2f6b57be9de47ded3e96e8ea355953f0059aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Rivera?= Date: Thu, 23 Jul 2026 22:21:29 +0200 Subject: [PATCH] fix OS detection bug --- bootstrap.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index 7a05b57..051430c 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -56,7 +56,9 @@ apt install -y \ step "Cloning configuration repository" -git clone "$REPO" +if [ ! -d "$REPO_DIR" ]; then + git clone "$REPO" +fi cd "$REPO_DIR" ################################################################################ @@ -73,10 +75,12 @@ curl -fsSL \ chmod a+r /etc/apt/keyrings/docker.asc +. /etc/os-release + cat >/etc/apt/sources.list.d/docker.list <