summaryrefslogtreecommitdiffstats
path: root/install.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-08-14 16:56:14 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-08-14 16:56:14 +0200
commit92c84158677f30edb8872754d92832a35420952d (patch)
treec7c14118f2f5e50de4fb36f84141b171192cd332 /install.php
parent0c954fc204a182b70e5a7bc22a65c61869b488a6 (diff)
Use python-ansi2html instead of cpan module
Way, way, way, way faster. Did I mention it is faster? Also we now have line numbers because we can. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'install.php')
-rw-r--r--install.php9
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);