]> diplodocus.org Git - nmh/commitdiff
Changed how build_nmh deals with older mhparam that doesn't
authorDavid Levine <levinedl@acm.org>
Sat, 11 Jan 2014 14:09:20 +0000 (08:09 -0600)
committerDavid Levine <levinedl@acm.org>
Sat, 11 Jan 2014 14:09:20 +0000 (08:09 -0600)
report SASL/TLS.

docs/contrib/build_nmh

index b00ad90..66383ac 100755 (executable)
@@ -157,10 +157,12 @@ if install-mh -check >/dev/null 2>&1; then
 
       case `$mhbin/mhparam tls` in
         *tls*) config_tls=y ;;
-     esac
+      esac
     else
-      echo "$0: -y not supported with currently installed nmh"
-      exit 1
+      tput smso
+      echo "$0: SASL and TLS detection not supported with current nmh"
+      [ $yes -eq 1 ]  &&  echo "will not configure either one in"
+      tput rmso
     fi
   fi
 fi