From: Elan Ruusamäe Date: Fri, 19 Mar 2010 12:38:53 +0000 (+0000) Subject: - disable dropin X-Git-Url: http://git.pld-linux.org/?p=packages%2Fchromium-browser-bin.git;a=commitdiff_plain;h=ce3ccb19af7a7528ad5cef10c08293ee9958df90 - disable dropin Changed files: update-source.sh -> 1.12 --- diff --git a/update-source.sh b/update-source.sh index f33aa54..fd085bf 100644 --- a/update-source.sh +++ b/update-source.sh @@ -1,5 +1,6 @@ #!/bin/sh set -e +dropin=0 if [ "$1" ]; then rev=$1 @@ -19,15 +20,17 @@ if [ ! -f chromium-browser64-r$rev.zip ]; then upload_64="chromium-browser64-r$rev.zip" fi -if [ -x ./dropin ]; then - dropin=./dropin -elif [ -x ../dropin ]; then - dropin=../dropin -fi +if [ "$dropin" ]; then + if [ -x ./dropin ]; then + dropin=./dropin + elif [ -x ../dropin ]; then + dropin=../dropin + fi -if [ "$upload_32" -o "$upload_64" ]; then - echo "Uploading to dropin. ^C to abort" - ../dropin $upload_32 $upload_64 + if [ "$upload_32" -o "$upload_64" ]; then + echo "Uploading to dropin. ^C to abort" + ../dropin $upload_32 $upload_64 + fi fi specfile=chromium-browser-bin.spec