diff options
author | joey <joey> | 2001-05-08 01:26:39 +0000 |
---|---|---|
committer | joey <joey> | 2001-05-08 01:26:39 +0000 |
commit | 653a744c8e6b4011874b79757129dae45f5bc229 (patch) | |
tree | f45529058f98b58f349e078ec4c71f02f54e6b83 /dh_installchangelogs | |
parent | b352136551fb3384722942f0206419ca066dedda (diff) |
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
Diffstat (limited to 'dh_installchangelogs')
-rwxr-xr-x | dh_installchangelogs | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |