Merge pull request #13 from seemethere/make_fedora_actually_point_to_fedora

Make yum repo point to correct lsb_dist
This commit is contained in:
Andrew Hsu authored and GitHub committed 2017-07-18 14:51:20 -07:00
commit 7e601fefa1
1 file changed
+1 -1
+1 -1
View File
@@ -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"