1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

sh -c the cat repo for yum

Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
Jessica Frazelle 2015-07-27 16:37:00 -07:00 committed by Jessica Frazelle
parent 7886056d74
commit 93d134c61f

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}