diff --git a/get-docker.sh b/get-docker.sh index 8d6d3d0..885c92f 100644 --- a/get-docker.sh +++ b/get-docker.sh @@ -424,24 +424,10 @@ do_install() { ;; debian|raspbian) - dist_version="$(sed 's/\/.*//' /etc/debian_version | sed 's/\..*//')" - case "$dist_version" in - 12) - dist_version="bookworm" - ;; - 11) - dist_version="bullseye" - ;; - 10) - dist_version="buster" - ;; - 9) - dist_version="stretch" - ;; - 8) - dist_version="jessie" - ;; - esac + # MODIFICA MANUALE: + # Forziamo l'uso di "bookworm" anche se siamo su "forky" o "trixie" + # per evitare errori di repository inesistenti. + dist_version="bookworm" ;; centos|rhel) @@ -748,4 +734,4 @@ do_install() { # wrapped up in a function so that we have some protection against only getting # half the file during "curl | sh" -do_install +do_install \ No newline at end of file