SOURCES: gen-installed-chrome.sh - die if can't unzip (no file)
sparky
sparky at pld-linux.org
Sun Apr 16 19:25:32 CEST 2006
Author: sparky Date: Sun Apr 16 17:25:31 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- die if can't unzip (no file)
---- Files affected:
SOURCES:
gen-installed-chrome.sh (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/gen-installed-chrome.sh
diff -u SOURCES/gen-installed-chrome.sh:1.2 SOURCES/gen-installed-chrome.sh:1.3
--- SOURCES/gen-installed-chrome.sh:1.2 Sun Apr 16 18:38:23 2006
+++ SOURCES/gen-installed-chrome.sh Sun Apr 16 19:25:26 2006
@@ -17,7 +17,7 @@
while [ -n "$1" ]; do
DIR=$(mktemp -d unzip.XXXXXX)
cd $DIR
- unzip ../$1 >/dev/null
+ unzip ../$1 >/dev/null || exit 2
JAR=$(basename $1)
find -name contents.rdf \
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/gen-installed-chrome.sh?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list