Skip to content

Commit

Permalink
Github actions build script: update centos packages prior to installi…
Browse files Browse the repository at this point in the history
…ng required packages.
  • Loading branch information
mikeov committed Jun 10, 2021
1 parent 42e61d3 commit becff6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,8 @@ build_centos()
/etc/yum.repos.d/*.repo
sed -i 's/#\(baseurl.*\)mirror.centos.org\/centos\/\$releasever\//\1vault.centos.org\/6.10\//' \
/etc/yum.repos.d/*.repo
else
$MYSUDO yum update -y
fi
if [ -f "$MYCENTOSEPEL_RPM" ]; then
$MYSUDO rpm -Uvh "$MYCENTOSEPEL_RPM"
Expand Down

0 comments on commit becff6d

Please sign in to comment.