X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d98ae2c6142ed5071a8fa5a4238b43a722effa82..d6b2ae5fa68b9a82ffc006c233aef64c5cdb3bd2:/etc/mhn.defaults.sh?ds=inline diff --git a/etc/mhn.defaults.sh b/etc/mhn.defaults.sh index 298dae60..d9d35b00 100755 --- a/etc/mhn.defaults.sh +++ b/etc/mhn.defaults.sh @@ -46,6 +46,7 @@ expand | sed -e 's/^ //' -e 's/ *$//'" >> $TMP fi echo "mhstore-store-text: %m%P.txt" >> $TMP +echo "mhstore-store-text/html: %m%P.html" >> $TMP echo "mhstore-store-text/richtext: %m%P.rt" >> $TMP echo "mhstore-store-video/mpeg: %m%P.mpg" >> $TMP echo "mhstore-store-application/PostScript: %m%P.ps" >> $TMP @@ -314,10 +315,17 @@ fi # This entry is used to retrieve external-body types that use a "url" # access-type. -PGM=`$SEARCHPROG "$SEARCHPATH" curl` -if [ ! -z "$PGM" ]; then - echo "nmh-access-url: $PGM -L" >> $TMP -fi +case "`uname`" in + FreeBSD) + echo "nmh-access-url: fetch -o -" >> $TMP + ;; + *) + PGM=`$SEARCHPROG "$SEARCHPATH" curl` + if [ ! -z "$PGM" ]; then + echo "nmh-access-url: $PGM -L" >> $TMP + fi + ;; +esac # output a sorted version of the file sort < $TMP