From fed4aa7f07810c2c01706ba0299408fa41a778ff Mon Sep 17 00:00:00 2001 From: Eli Uriegas Date: Tue, 18 Jul 2017 14:38:10 -0700 Subject: [PATCH] Make yum repo point to correct lsb_dist `yum_repo` mistakenly was hardcoded to `centos` now it should be based off of `$lsb_dist` Signed-off-by: Eli Uriegas --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index bd96467..c200004 100644 --- a/install.sh +++ b/install.sh @@ -431,7 +431,7 @@ do_install() { exit 0 ;; centos|fedora) - yum_repo="https://download.docker.com/linux/centos/docker-ce.repo" + yum_repo="https://download.docker.com/linux/$lsb_dist/docker-ce.repo" if [ "$lsb_dist" = "fedora" ]; then if [ "$dist_version" -lt "24" ]; then echo "Error: Only Fedora >=24 are supported by $url"