From 653a744c8e6b4011874b79757129dae45f5bc229 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 8 May 2001 01:26:39 +0000 Subject: r464: * Now uses html2text rather than lynx for converting html changelogs. The program generates better results, and won't annoy the people who were oddly annoyed at having to install lynx. Instead, it will annoy a whole other set of people, I'm sure. Closes: #93747 --- dh_installchangelogs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dh_installchangelogs') diff --git a/dh_installchangelogs b/dh_installchangelogs index 76dd1c19..b0c6c50e 100755 --- a/dh_installchangelogs +++ b/dh_installchangelogs @@ -30,7 +30,7 @@ not a native debian package, then this upstream changelog will be installed as usr/share/doc/package/changelog in the package build directory. If the changelog is a html file (determined by file extension), it will be installed as usr/share/doc/package/changelog.html instead, and will be -converted to plain text with lynx to generate +converted to plain text with html2text to generate usr/share/doc/package/changelog. =head1 OPTIONS @@ -100,7 +100,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) { # HTML changelog doit("install","-o",0,"-g",0,"-p","-m644", $upstream,"$tmp/usr/share/doc/$package/changelog.html"); - complex_doit("lynx -dump $upstream > $tmp/usr/share/doc/$package/changelog"); + doit("html2text","-nobs","-o","$tmp/usr/share/doc/$package/changelog",$upstream); $link_to='changelog.html'; } else { -- cgit v1.2.3