Skip to content

Commit

Permalink
update lib
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbtek committed Jan 25, 2018
1 parent 2cc0cd0 commit e902768
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion libraries/util.bash
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ function runAptGetUpdate()
fi
}

function runAptGetUpgrade()
function runUpgrade()
{
if [[ "$(isUbuntuDistributor)" = 'true' ]]
then
Expand All @@ -793,6 +793,10 @@ function runAptGetUpgrade()

info '\napt-get autoclean'
DEBIAN_FRONTEND='noninteractive' apt-get --fix-missing -y -o Dpkg::Options::='--force-confdef' -o Dpkg::Options::='--force-confold' autoclean
elif [[ "$(isCentOSDistributor)" = 'true' || "$(isRedHatDistributor)" = 'true' ]]
then
yum -y --security update
yum -y update --nogpgcheck
fi
}

Expand Down

0 comments on commit e902768

Please sign in to comment.