From 82f0facb620e59594aaf318c2eaf676c7788f1e6 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 26 Jul 2008 21:14:07 -0400 Subject: fixups --- IkiWiki/Plugin/search.pm | 3 ++- IkiWiki/Plugin/typography.pm | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'IkiWiki/Plugin') diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index c45e59c8e..cb12d9500 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -19,6 +19,7 @@ sub getsetup () { #{{{ return omega_cgi => { type => "string", + example => "/usr/lib/cgi-bin/omega/omega", description => "path to the omega cgi program", safe => 0, # external program rebuild => 0, @@ -32,7 +33,7 @@ sub checkconfig () { #{{{ } } - if (! exists $config{omega_cgi}) { + if (! defined $config{omega_cgi}) { $config{omega_cgi}="/usr/lib/cgi-bin/omega/omega"; } } #}}} diff --git a/IkiWiki/Plugin/typography.pm b/IkiWiki/Plugin/typography.pm index 5ba14084b..6229e6c33 100644 --- a/IkiWiki/Plugin/typography.pm +++ b/IkiWiki/Plugin/typography.pm @@ -27,7 +27,6 @@ sub getsetup () { #{{{ typographyattributes => { type => "string", example => "3", - example => "tag", description => "Text::Typography attributes value", safe => 1, rebuild => 1, -- cgit v1.2.3