* Deal with CPAN installing Markdown as Text::Markdown, while it's

installed as just Markdown by apt.
master
joey 2006-09-16 01:14:30 +00:00
parent 3b42bd84ca
commit 39fd60f1ab
3 changed files with 13 additions and 4 deletions

View File

@ -25,8 +25,11 @@ sub htmlize (@) { #{{{
eval q{use Markdown};
if ($@) {
do "/usr/bin/markdown" ||
error("failed to load Markdown.pm perl module ($@) or /usr/bin/markdown ($!)");
eval q{use Text::Markdown};
if ($@) {
do "/usr/bin/markdown" ||
error("failed to load Markdown.pm perl module ($@) or /usr/bin/markdown ($!)");
}
}
$markdown_loaded=1;
require Encode;

4
debian/changelog vendored
View File

@ -36,8 +36,10 @@ ikiwiki (1.27) UNRELEASED; urgency=low
* pagetemplate hooks are now also called when generating cgi pages.
* Add a favicon plugin, which simply adds a link tag for an icon to each
page (and cgis).
* Deal with CPAN installing Markdown as Text::Markdown, while it's
installed as just Markdown by apt.
-- Joey Hess <joeyh@debian.org> Fri, 15 Sep 2006 19:39:36 -0400
-- Joey Hess <joeyh@debian.org> Fri, 15 Sep 2006 21:13:35 -0400
ikiwiki (1.26) unstable; urgency=low

View File

@ -8,4 +8,8 @@ the Debian markdown, which I guess you can consider a blocking bug of this.
I tried to come up with the magical invocation to allow either location
to be used by ikiwiki, but I couldn't do it.
-- JamesWestby
-- JamesWestby
Fixed, I think --[[Joey]]
[[bugs/done]]