* Display an error message if /usr/bin/markdown can't be loaded.

master
joey 2006-08-10 03:03:34 +00:00
parent cf4c17e924
commit 119e3e209d
2 changed files with 3 additions and 2 deletions

View File

@ -19,7 +19,7 @@ sub htmlize ($) { #{{{
no warnings 'once';
$blosxom::version="is a proper perl module too much to ask?";
use warnings 'all';
do "/usr/bin/markdown";
do "/usr/bin/markdown" || IkiWiki::error("failed to load /usr/bin/markdown: $!");
require Encode;
}

3
debian/changelog vendored
View File

@ -9,8 +9,9 @@ ikiwiki (1.17) UNRELEASED; urgency=low
* Remove <br> from end of aggregate preprocessor directive output.
* Ship ikiwiki executable as ikiwiki.pl in source to avoid issues on
case-sensative filesystems like OSX.
* Display an error message if /usr/bin/markdown can't be loaded.
-- Joey Hess <joeyh@debian.org> Tue, 8 Aug 2006 10:52:23 -0400
-- Joey Hess <joeyh@debian.org> Wed, 9 Aug 2006 23:01:02 -0400
ikiwiki (1.16) unstable; urgency=low