mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #15064 from jfrazelle/14590-fix-sudo
sh -c the cat repo for yum
This commit is contained in:
commit
0c330a7823
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ do_install() {
|
|||
;;
|
||||
|
||||
fedora|centos)
|
||||
cat >/etc/yum.repos.d/docker-${repo}.repo <<-EOF
|
||||
$sh_c "cat >/etc/yum.repos.d/docker-${repo}.repo" <<-EOF
|
||||
[docker-${repo}-repo]
|
||||
name=Docker ${repo} Repository
|
||||
baseurl=https://yum.dockerproject.org/repo/${repo}/${lsb_dist}/${dist_version}
|
||||
|
|
Loading…
Reference in a new issue