swaks (20100211.0-2) man-instead-of-pod

Summary

 swaks |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Description: Run 'man' instead of 'perldoc' if help is requested
 Debian systems are guaranteed to have man installed, and we package
 the Swaks manpage. This reduces manpage render time and package
 dependency count.
Author: Gunnar Wolf <gwolf@debian.org>
Bug-Debian: http://bugs.debian.org/381411
Origin: vendor
Forwarded: not-needed
Last-Update: <2006-11-14>

--- swaks-20100211.0.orig/swaks
+++ swaks-20100211.0/swaks
@@ -2003,7 +2003,7 @@ sub ext_usage {
     $ENV{PATH} .= ":" unless $ENV{PATH} eq "";
     $ENV{PATH} = "$ENV{PATH}$Config::Config{'installscript'}";
     $< = $> = 1 if ($> == 0 || $< == 0);
-    exec("perldoc", $0) || exit(1);
+    exec("man", "swaks") || exit(1);
     # make parser happy
     %Config::Config = ();
   } elsif ($ARGV[0] =~ /^--version$/i) {