packages (UBUNTU): chromium-browser/get-source.sh - skip update if result t...

glen glen at pld-linux.org
Sat Nov 5 17:29:49 CET 2011


Author: glen                         Date: Sat Nov  5 16:29:49 2011 GMT
Module: packages                      Tag: UBUNTU
---- Log message:
- skip update if result tarball present

---- Files affected:
packages/chromium-browser:
   get-source.sh (1.2.2.7 -> 1.2.2.8) 

---- Diffs:

================================================================
Index: packages/chromium-browser/get-source.sh
diff -u packages/chromium-browser/get-source.sh:1.2.2.7 packages/chromium-browser/get-source.sh:1.2.2.8
--- packages/chromium-browser/get-source.sh:1.2.2.7	Sat Nov  5 17:27:37 2011
+++ packages/chromium-browser/get-source.sh	Sat Nov  5 17:29:44 2011
@@ -12,15 +12,15 @@
 LOCKFILE=$WORK_DIR/$PACKAGE_NAME-$CHANNEL.lock
 
 VERSION=$(wget -qO - "$CHANNELS_URL?os=linux&channel=$CHANNEL" | awk -F, 'NR > 1{print $3}')
-VERSION_LOCK=$CHROMIUM/$VERSION
+VERSION_FILE=$WORK_DIR/archive/$CHANNEL/${PACKAGE_NAME}_$VERSION~*.tar.gz
 
-if [ -e $VERSION_LOCK ]; then
+if [ -e $VERSION_FILE ]; then
 	# nothing to update
 	exit 0
 fi
 
-# consider lockfile stale after 2h
-if ! lockfile -l 7200 $LOCKFILE; then
+# consider lockfile stale after 3h
+if ! lockfile -l 10800 $LOCKFILE; then
 	exit 1
 fi
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/chromium-browser/get-source.sh?r1=1.2.2.7&r2=1.2.2.8&f=u



More information about the pld-cvs-commit mailing list