* Deal with CPAN installing Markdown as Text::Markdown, while it's
installed as just Markdown by apt.master
parent
3b42bd84ca
commit
39fd60f1ab
|
@ -24,10 +24,13 @@ sub htmlize (@) { #{{{
|
||||||
use warnings 'all';
|
use warnings 'all';
|
||||||
|
|
||||||
eval q{use Markdown};
|
eval q{use Markdown};
|
||||||
|
if ($@) {
|
||||||
|
eval q{use Text::Markdown};
|
||||||
if ($@) {
|
if ($@) {
|
||||||
do "/usr/bin/markdown" ||
|
do "/usr/bin/markdown" ||
|
||||||
error("failed to load Markdown.pm perl module ($@) or /usr/bin/markdown ($!)");
|
error("failed to load Markdown.pm perl module ($@) or /usr/bin/markdown ($!)");
|
||||||
}
|
}
|
||||||
|
}
|
||||||
$markdown_loaded=1;
|
$markdown_loaded=1;
|
||||||
require Encode;
|
require Encode;
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,8 +36,10 @@ ikiwiki (1.27) UNRELEASED; urgency=low
|
||||||
* pagetemplate hooks are now also called when generating cgi pages.
|
* 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
|
* Add a favicon plugin, which simply adds a link tag for an icon to each
|
||||||
page (and cgis).
|
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
|
ikiwiki (1.26) unstable; urgency=low
|
||||||
|
|
||||||
|
|
|
@ -9,3 +9,7 @@ I tried to come up with the magical invocation to allow either location
|
||||||
to be used by ikiwiki, but I couldn't do it.
|
to be used by ikiwiki, but I couldn't do it.
|
||||||
|
|
||||||
-- JamesWestby
|
-- JamesWestby
|
||||||
|
|
||||||
|
Fixed, I think --[[Joey]]
|
||||||
|
|
||||||
|
[[bugs/done]]
|
||||||
|
|
Loading…
Reference in New Issue