1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-01 04:14:16 -04:00

Fix error to refer to elinks, as that is what it checks for

This commit is contained in:
David Leadbeater 2014-06-15 21:00:34 +01:00
parent 63011c2bf8
commit 831bd1d1e5

View File

@ -32,7 +32,7 @@ if type lynx >/dev/null 2>&1 ; then
elif type elinks >/dev/null 2>&1 ; then
elinks -dump docs/faq.html|perl -pe 's/^ *//; if ($_ eq "\n" && $state eq "Q") { $_ = ""; } elsif (/^([QA]):/) { $state = $1 } elsif ($_ ne "\n") { $_ = " $_"; };' > docs/faq.txt
else
echo "**Error**: No lynx or links present"
echo "**Error**: No lynx or elinks present"
exit 1
fi