diff options
Diffstat (limited to 'install.php')
-rw-r--r-- | install.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/install.php b/install.php index 8b07731e0..6c49658fd 100644 --- a/install.php +++ b/install.php @@ -31,7 +31,6 @@ $buf == "works" || $errors .= "passthru() failed\n"; // test perl deps $perldeps = array( - "HTML::FromANSI", "Text::Markdown" ); foreach ($perldeps as $dep) { @@ -58,6 +57,14 @@ if ($buf != "0") { $errors .= " - Error when testing pygmentize: Return code was \"$buf\".\n"; } +// test ansi2html +ob_start(); +passthru("ansi2html -h 2>&1", $buf); +ob_end_clean(); +if ($buf != "0") { + $errors .= " - Error when testing ansi2html: Return code was \"$buf\".\n"; +} + // test qrencode ob_start(); passthru("qrencode -V 2>&1", $buf); |