]> git.pld-linux.org Git - packages/chromium-browser-bin.git/commitdiff
- cleanup; formatting
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 20 Nov 2009 14:26:29 +0000 (14:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    update-source.sh -> 1.3

update-source.sh

index 42181ae0b608920fb02d7933f20bc21bc5620006..696de5effa7664fc41bb8be7124b5b82b42b32c0 100644 (file)
@@ -1,21 +1,13 @@
-#!/bin/sh                                                             
-
-if [ ""!="$1" ]
-then           
-  rev=$1       
-  fi             
-
-  rev=$(wget -q -O - http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST)
-
-  echo "Fetching revision $rev"
-
-  wget http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/$rev/chrome-linux.zip -c -O chrome-linux32.zip
-  wget http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/$rev/chrome-linux.zip -c -O chrome-linux64.zip
-
-#  echo -n "Update revision in spec? (yes, [N]o)? "
-#  read ans
-#  case "$ans" in
-#  [yY]) # y0 mama
-#          echo "Ok, updating."
-#;;
-#          esac
+#!/bin/sh
+
+if [ "$1" ]; then
+       rev=$1
+       echo "Using $rev..."
+else
+       echo -n "Fetching latest revno... "
+       rev=$(wget -q -O - http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/LATEST)
+       echo "$rev"
+fi
+
+wget http://build.chromium.org/buildbot/snapshots/chromium-rel-linux/$rev/chrome-linux.zip -c -O chrome-linux32.zip
+wget http://build.chromium.org/buildbot/snapshots/chromium-rel-linux-64/$rev/chrome-linux.zip -c -O chrome-linux64.zip
This page took 0.27003 seconds and 4 git commands to generate.