From 931df51d9354e0c67e7329096de86411270a5db7 Mon Sep 17 00:00:00 2001 From: david Date: Thu, 26 Jul 2018 23:01:50 +0200 Subject: Updated FreeAMO: if ! ; then echo foo; fi # for pv --- subprojects/freeamo/src/get-add-ons | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'subprojects/freeamo/src/get-add-ons') diff --git a/subprojects/freeamo/src/get-add-ons b/subprojects/freeamo/src/get-add-ons index f7307d5..b2491ba 100644 --- a/subprojects/freeamo/src/get-add-ons +++ b/subprojects/freeamo/src/get-add-ons @@ -47,7 +47,7 @@ function get-add-ons--download { # Add-ons not avalible for GNU/Linux will be ignored (used to be very few though). wget -nc -q "https://addons.mozilla.org/firefox/downloads/latest/$slug/addon-$id-latest.xpi" || wget -nc -q "https://addons.mozilla.org/firefox/downloads/latest/$slug/platform:2/addon-$id-latest.xpi" - echo "foo" # Must be here to work with pv + if ! $debug; then echo "foo"; fi # for pv done < "$output_file" | pv__progress @@ -85,7 +85,7 @@ function get-add-ons--filter { license_file_text=$(unzip -l "addon-$id-latest.xpi" | awk '{ print $4 }' | grep -E "^COPYING$|^COPYING.txt$|^COPYING.md$|^LICENSE$|^LICENSE.txt$|^LICENSE.md$" | sed ':a;N;$!ba;s/\n/\t/g' || echo "NOLICENSEFILEFOUND"); echo -e "$file\\t$entry\\t$slug\\taddon-$id-latest.xpi\\t$license_file_text" >> "$run_path/build/index-search-pages--free-licenses--license-file-status.txt" - echo "foo" # Must be here to work with pv + if ! $debug; then echo "foo"; fi # for pv done < "$output_file" | pv__progress -- cgit v1.2.3