Ticket #127: update-smart-drivedb.patch

File update-smart-drivedb.patch, 625 bytes (added by alex-j, 13 years ago)
  • update-smart-drivedb

    diff --git a/update-smart-drivedb b/update-smart-drivedb
    index b8d5505..32e0c6e 100755
    a b elif which wget >/dev/null 2>/dev/null; then  
    8484  DOWNLOAD="wget $q"'-O "$DEST.new" "$SRC"'
    8585elif which lynx >/dev/null 2>/dev/null; then
    8686  DOWNLOAD='lynx -source "$SRC" >"$DEST.new"'
     87elif which fetch >/dev/null 2>/dev/null; then
     88  DOWNLOAD='fetch -o "$DEST.new" "$SRC"'
    8789else
    88   echo "$0: curl, wget or lynx not available" >&2; exit 1
     90  echo "$0: curl, wget, fetch or lynx not available" >&2; exit 1
    8991fi
    9092
    9193# Try possible branch first, then trunk