Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 1st, 2011  |  syntax: None  |  size: 0.46 KB  |  hits: 99  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # trick re-determining the build revision and, or entertain the hidden
  2. # makepkg option --forcever, huh
  3. if [ -z "$FORCE_VER" ]; then
  4.     msg "Determining latest build revision..."
  5.     newpkgver="$(curl -s http://commondatastorage.googleapis.com/chromium-browser-continuous/Linux LAST_CHANGE)"
  6.     if [ -n "$newpkgver" -a "$newpkgver" != "$pkgver" ]; then
  7.         msg2 "Version found: %s" "$newpkgver"
  8.         FORCE_VER="$newpkgver"
  9.     else
  10.         FORCE_VER="$pkgver"
  11.     fi
  12. fi