Skip to content

Commit

Permalink
update inc/axelsetup.inc check for axel binary existence
Browse files Browse the repository at this point in the history
  • Loading branch information
centminmod committed May 25, 2016
1 parent b0969be commit 4adcbb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/axelsetup.inc
Expand Up @@ -132,12 +132,12 @@ axelsetup() {
fi # centos 5.x ver

###
if [[ "$CENTOS_SIX" = '6' ]]; then
if [[ "$CENTOS_SIX" = '6' && ! -f /usr/local/bin/axel ]]; then
install_axel
fi
###

if [[ "$CENTOS_SEVEN" = '7' ]]; then
if [[ "$CENTOS_SEVEN" = '7' && ! -f /usr/local/bin/axel ]]; then
# axel download accelerator works with CentOS 7.x and epel repo
# unlike axel provided by rpmforge on CentOS 6.x repo
# yum -y install axel
Expand Down

0 comments on commit 4adcbb2

Please sign in to comment.