From 65b6af893904c32d92951fe8142f55e8bd74adff Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Mon, 9 Jun 2014 12:00:17 -0400 Subject: [PATCH] If "curl" is available, create a nmh-access-url entry that uses it. --- etc/mhn.defaults.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/etc/mhn.defaults.sh b/etc/mhn.defaults.sh index dbb38cd9..19ece281 100755 --- a/etc/mhn.defaults.sh +++ b/etc/mhn.defaults.sh @@ -312,6 +312,13 @@ if [ ! -z "$PGM" ]; then echo "mhshow-show-application/msword: %l$PGM %F" >> $TMP 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 + # output a sorted version of the file sort < $TMP -- 2.56.0