Update get-docker.sh
This commit is contained in:
@@ -424,24 +424,10 @@ do_install() {
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
debian|raspbian)
|
debian|raspbian)
|
||||||
dist_version="$(sed 's/\/.*//' /etc/debian_version | sed 's/\..*//')"
|
# MODIFICA MANUALE:
|
||||||
case "$dist_version" in
|
# Forziamo l'uso di "bookworm" anche se siamo su "forky" o "trixie"
|
||||||
12)
|
# per evitare errori di repository inesistenti.
|
||||||
dist_version="bookworm"
|
dist_version="bookworm"
|
||||||
;;
|
|
||||||
11)
|
|
||||||
dist_version="bullseye"
|
|
||||||
;;
|
|
||||||
10)
|
|
||||||
dist_version="buster"
|
|
||||||
;;
|
|
||||||
9)
|
|
||||||
dist_version="stretch"
|
|
||||||
;;
|
|
||||||
8)
|
|
||||||
dist_version="jessie"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
centos|rhel)
|
centos|rhel)
|
||||||
@@ -748,4 +734,4 @@ do_install() {
|
|||||||
|
|
||||||
# wrapped up in a function so that we have some protection against only getting
|
# wrapped up in a function so that we have some protection against only getting
|
||||||
# half the file during "curl | sh"
|
# half the file during "curl | sh"
|
||||||
do_install
|
do_install
|
||||||
Reference in New Issue
Block a user