r146@frost: data | 2005-08-28 22:24:29 +0300
[clinton/abcde.git] / cddb-tool
index 430e091..0c9274c 100755 (executable)
--- a/cddb-tool
+++ b/cddb-tool
@@ -2,7 +2,7 @@
 
 # Copyright (C) 1999 Nathaniel Smith <njs@uclink4.berkeley.edu>
 # Copyright (C) 1999, 2000, 2001 Robert Woodcock <rcw@debian.org>
-# Copyright (C) 2003, 2004 Jesus Climent <jesus.climent@hispalinux.es>
+# Copyright (C) 2003, 2005 Jesus Climent <jesus.climent@hispalinux.es>
 # This code is hereby licensed for public consumption under either the
 # GNU GPL v2 or greater, or Larry Wall's Artistic License - your choice.
 #
@@ -21,7 +21,7 @@
 #  - Submitted via: line is created by template, when it really should be in send.
 #    Oh well.
 
-VERSION=0.4.5
+VERSION=0.4.6
 NAME=cddb-tool
 
 #return codes
@@ -36,6 +36,9 @@ if [ "$HTTPGET" = "" ]; then
        if [ X"$(uname)" = X"FreeBSD" ] ; then
                HTTPGET=fetch
                HTTPGETOPTS=${HTTPGETOPTS:="-q -o -"}
+       elif [ X"$(uname)" = X"NetBSD" ] ; then
+               HTTPGET=ftp
+               HTTPGETOPTS=${HTTPGETOPTS:="-q -o -"}
        elif [ X"$(uname)" = X"Darwin" ] ; then
                HTTPGET=curl
                HTTPGETOPTS=${HTTPGETOPTS:="-f -s"}