Skip to content

Commit

Permalink
yum: fix epel status
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierrotws committed Jul 6, 2017
1 parent 5fe32ad commit 7ae8e8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/yum/install.coffee.md
Expand Up @@ -72,14 +72,15 @@ property "yum.epel" to false.
epel_rpm_tmp = '/tmp/epel-release.rpm'
@call
if: options.epel.url?
unless_exec: 'rpm -qa | grep epel-release'
timeout: 100000
, ->
@file.download
source: options.epel.url
target: epel_rpm_tmp
shy: true
@system.execute
cmd: "rpm -Uvh #{epel_rpm_tmp}"
unless_exec: 'rpm -qa | grep epel-release'
@system.remove
target: epel_rpm_tmp
shy: true
Expand Down

0 comments on commit 7ae8e8d

Please sign in to comment.