filmtools

various tools for photographic film development and darkroom printing
git clone git://src.adamsgaard.dk/filmtools # fast
git clone https://src.adamsgaard.dk/filmtools.git # slow
Log | Files | Refs | LICENSE Back to index

commit 1e9b9eb860bc5044bf50eaca99683ca7de8e6b01
parent 48d3f12aefdf158cd79a1ad231a6b50bd998b0a6
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sat,  6 Feb 2021 14:13:57 +0100

filmprice: fix detection of fetcher

Diffstat:
Mfilmprice | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/filmprice b/filmprice @@ -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'