1
0
Fork 0
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:
Tibor Vass 2015-07-29 10:02:27 -04:00
commit 0c330a7823

View file

@ -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}