Skip to content

Commit

Permalink
Use apt-spy2 to pick the best mirror.
Browse files Browse the repository at this point in the history
  • Loading branch information
sobomax committed Feb 14, 2023
1 parent 7b22559 commit 6e03e9f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/build/install_depends.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ then
${PRE_INSTALL_CMD}
fi

if [ "${BUILD_OS}" != ubuntu-18.04 ]
then
sudo gem install apt-spy2
sudo apt-spy2 check --strict
sudo apt-spy2 fix --commit --strict
fi

sudo apt-get update -y
sudo apt-get -y install ${PKGS}

Expand Down

0 comments on commit 6e03e9f

Please sign in to comment.