daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest Sep 24th, 2012 2 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # stupid loop to get around ubuntu package mirror problems
  2. for attempt in 1 2 3; do
  3.   if [ ! -z "`which git`" ]; then
  4.     break
  5.   fi
  6.   echo "Trying to install git, attempt $attempt"
  7.   sudo apt-get update -yq --fix-missing -o "Debug::Acquire::Http=True"
  8.   sudo apt-get install -yq git -o "Debug::Acquire::Http=True"
  9. done
RAW Paste Data
Pastebin PRO WINTER Special!
Get 40% OFF Pastebin PRO accounts!
Top