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 <