|
@ -14,7 +14,7 @@ fi |
|
|
|
|
|
|
|
|
if [ -n "$just_installed" ]; then |
|
|
if [ -n "$just_installed" ]; then |
|
|
need_restart= |
|
|
need_restart= |
|
|
docker_version=17 |
|
|
|
|
|
|
|
|
docker_version=19.03 |
|
|
if ! [[ "$(docker --version)" == "Docker version $docker_version"* ]]; then |
|
|
if ! [[ "$(docker --version)" == "Docker version $docker_version"* ]]; then |
|
|
version="$(apt-cache madison docker-ce | |
|
|
version="$(apt-cache madison docker-ce | |
|
|
cut -f 2 -d \| | |
|
|
cut -f 2 -d \| | |
|
@ -29,4 +29,4 @@ if [ -n "$just_installed" ]; then |
|
|
systemctl daemon-reload && |
|
|
systemctl daemon-reload && |
|
|
service docker restart |
|
|
service docker restart |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
fi |