diff options
author | david <public@beloved.name> | 2018-07-26 23:01:50 +0200 |
---|---|---|
committer | david <public@beloved.name> | 2018-07-26 23:01:50 +0200 |
commit | 931df51d9354e0c67e7329096de86411270a5db7 (patch) | |
tree | 8378c0c0f2896ff7a89af0b4a1f0965b1ab7d6bf /subprojects/freeamo/src/get-add-ons | |
parent | ef454290322d19fadc4525b7ccf0338683c9ef5b (diff) |
Updated FreeAMO: if ! ; then echo foo; fi # for pv
Diffstat (limited to 'subprojects/freeamo/src/get-add-ons')
-rw-r--r-- | subprojects/freeamo/src/get-add-ons | 4 |
1 files changed, 2 insertions, 2 deletions
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 |