This commit is contained in:
SuperManito
2023-06-09 12:27:21 +08:00
parent c96d25703f
commit ce6748fea3

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
## Author: SuperManito ## Author: SuperManito
## Modified: 2023-05-25 ## Modified: 2023-06-09
## License: MIT ## License: MIT
## Github: https://github.com/SuperManito/LinuxMirrors ## Github: https://github.com/SuperManito/LinuxMirrors
## Website: https://linuxmirrors.cn ## Website: https://linuxmirrors.cn
@@ -655,7 +655,7 @@ function DockerEngine() {
## 查看版本并验证安装结果 ## 查看版本并验证安装结果
function CheckVersion() { function CheckVersion() {
if [ -x /usr/bin/docker ]; then if [ -x /usr/bin/docker ]; then
echo -n "\n验证安装版本:" echo -en "\n验证安装版本:"
docker -v docker -v
VERIFICATION_DOCKER=$? VERIFICATION_DOCKER=$?
if [ ${VERIFICATION_DOCKER} -eq 0 ]; then if [ ${VERIFICATION_DOCKER} -eq 0 ]; then