SwordArMor-gentoo-overlay/app-text/docbook-sgml-utils/files/docbook-utils-0.6.14-elinks.patch

15 lines
445 B
Diff
Raw Normal View History

diff -NurdB docbook-utils-0.6.14/backends/txt docbook-utils-0.6.14-patched/backends/txt
--- docbook-utils-0.6.14/backends/txt 2004-02-11 08:58:03.000000000 -0500
+++ docbook-utils-0.6.14-patched/backends/txt 2006-06-05 21:57:23.000000000 -0500
@@ -10,6 +10,10 @@
then
CONVERT=/usr/bin/links
ARGS="-dump"
+elif [ -x /usr/bin/elinks ]
+then
+ CONVERT=/usr/bin/elinks
+ ARGS="-dump"
elif [ -x /usr/bin/w3m ]
then
CONVERT=/usr/bin/w3m