Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # stupid loop to get around ubuntu package mirror problems
- for attempt in 1 2 3; do
- if [ ! -z "`which git`" ]; then
- break
- fi
- echo "Trying to install git, attempt $attempt"
- sudo apt-get update -yq --fix-missing -o "Debug::Acquire::Http=True"
- sudo apt-get install -yq git -o "Debug::Acquire::Http=True"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement