mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
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 <eli.uriegas@docker.com>
This commit is contained in:
1 parent
a35642d493
commit
fed4aa7f07
1 file changed
+1
-1
+1
-1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user