blob: 082709140d239d9c69f3e6b4b5637fc4c58573bb [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001From c81dbdedff9e9b4fb75ac028aa718838c0292d2f Mon Sep 17 00:00:00 2001
2From: Andreas Marschke <andreas.marschke@googlemail.com>
3Date: Sat, 17 Sep 2011 11:38:42 +0100
4Subject: Configure CPAN::Distribution with correct name of html2text
5
6Bug-Debian: http://bugs.debian.org/640479
7Patch-Name: debian/find_html2text.diff
8
9If you use cpan from Debian you usually wind up trying to read online
10documentation through it. Unfortunately cpan can't find the
11html2text.pl script even though it is installed using the Debian
12package 'html2text'.
13
14Please see the attached patch for a quick fix of this issue.
15
16[Maintainer's note: html2text in Debian is not the same implementation
17as the html2text.pl which is expected, but should provide similar
18functionality].
Brad Bishopd7bf8c12018-02-25 22:55:05 -050019Upstream-Status: Pending
Patrick Williamsc124f4f2015-09-15 14:41:29 -050020---
21 cpan/CPAN/lib/CPAN/Distribution.pm | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
23
24diff --git a/cpan/CPAN/lib/CPAN/Distribution.pm b/cpan/CPAN/lib/CPAN/Distribution.pm
25index 092b781..5c2bae1 100644
26--- a/cpan/CPAN/lib/CPAN/Distribution.pm
27+++ b/cpan/CPAN/lib/CPAN/Distribution.pm
28@@ -4099,7 +4099,7 @@ sub _display_url {
29 if $CPAN::DEBUG;
30
31 # should we define it in the config instead?
32- my $html_converter = "html2text.pl";
33+ my $html_converter = "html2text";
34
35 my $web_browser = $CPAN::Config->{'lynx'} || undef;
36 my $web_browser_out = $web_browser