]> diplodocus.org Git - nmh/commitdiff
mhparam: Remove `libdir', deprecated in 1.7.
authorRalph Corderoy <ralph@inputplus.co.uk>
Sun, 27 Aug 2017 09:49:10 +0000 (10:49 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Sun, 27 Aug 2017 09:49:10 +0000 (10:49 +0100)
Use existing `libexecdir' instead.

docs/contrib/localpostproc
man/mhparam.man
uip/mhparam.c

index 53bc2a5..dcd9985 100755 (executable)
@@ -43,7 +43,7 @@ find_draftmessage() {
        exit 1
 }
 
        exit 1
 }
 
-realpost="$(mhparam libdir)/post"
+realpost="$(mhparam libexecdir)/post"
 
 if [ $# -eq 0 ]; then
        echo "Usage: [post switches] filename"
 
 if [ $# -eq 0 ]; then
        echo "Usage: [post switches] filename"
index e4b6cb0..b4ee532 100644 (file)
@@ -80,12 +80,6 @@ The
 switch displays all such other information available from
 .BR mhparam .
 .PP
 switch displays all such other information available from
 .BR mhparam .
 .PP
-Note that the internal
-.B libdir
-component has been replaced by
-.BR libexecdir .
-The old form is deprecated and will be removed in a future release.
-.PP
 Examples:
 .PP
 .RS 5
 Examples:
 .PP
 .RS 5
index 4aadec5..d726d53 100644 (file)
@@ -114,7 +114,6 @@ static struct proc procs [] = {
      { "whomproc",         &whomproc },
      { "bindir",           &mhbindir },
      { "libexecdir",       &mhlibexecdir },
      { "whomproc",         &whomproc },
      { "bindir",           &mhbindir },
      { "libexecdir",       &mhlibexecdir },
-     { "libdir",           &mhlibexecdir },
      { "etcdir",           &mhetcdir },
      { "docdir",           &mhdocdir },
      { "localmbox",       &localmbox },
      { "etcdir",           &mhetcdir },
      { "docdir",           &mhdocdir },
      { "localmbox",       &localmbox },