tfilmprice: fix detection of fetcher - filmtools - various tools for photographic film development and darkroom printing
 (HTM) git clone git://src.adamsgaard.dk/filmtools
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit 1e9b9eb860bc5044bf50eaca99683ca7de8e6b01
 (DIR) parent 48d3f12aefdf158cd79a1ad231a6b50bd998b0a6
 (HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Sat,  6 Feb 2021 14:13:57 +0100
       
       filmprice: fix detection of fetcher
       
       Diffstat:
         M filmprice                           |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/filmprice b/filmprice
       t@@ -103,9 +103,9 @@ fotoimpex_extract_price() {
        }
        
        get_html() {
       -        if type -v hurl >/dev/null 2>&1; then
       +        if command -v hurl >/dev/null 2>&1; then
                        hurl "$1" 2>/dev/null
       -        elif type -v curl >/dev/null 2>&1; then
       +        elif command -v curl >/dev/null 2>&1; then
                        curl -s "$1" 2>/dev/null
                else
                        die 'no suitable html fetcher found'