From 08feb536f3a8ee98b1e303abdb39aca03efae774 Mon Sep 17 00:00:00 2001 From: Andrew Hsu Date: Tue, 11 Jul 2017 02:54:06 +0000 Subject: [PATCH] SC2034 unused variable yum_url appears unused. Verify it or export it. https://github.com/koalaman/shellcheck/wiki/SC2034 Signed-off-by: Andrew Hsu --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index a5d0e68..eaf4e36 100644 --- a/install.sh +++ b/install.sh @@ -27,7 +27,7 @@ fi # HERE ========================================================= url="https://test.docker.com/" apt_url="https://apt.dockerproject.org" -yum_url="https://yum.dockerproject.org" +#yum_url="https://yum.dockerproject.org" docker_key="-----BEGIN PGP PUBLIC KEY BLOCK----- Version: GnuPG v1 @@ -112,11 +112,11 @@ done case "$mirror" in AzureChinaCloud) apt_url="https://mirror.azure.cn/docker-engine/apt" - yum_url="https://mirror.azure.cn/docker-engine/yum" + #yum_url="https://mirror.azure.cn/docker-engine/yum" ;; Aliyun) apt_url="https://mirrors.aliyun.com/docker-engine/apt" - yum_url="https://mirrors.aliyun.com/docker-engine/yum" + #yum_url="https://mirrors.aliyun.com/docker-engine/yum" ;; esac # HERE =========================================================