X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=gen_website;h=12a4e1f7cf8eb1145d20e22295a0cc4fbe09da08;hb=f020a452b21774e3064df6ad27c502a167cdb3da;hp=a5933e569c7ed46f486bc416960ade0915c0fc98;hpb=55eaf1c8304888140fa89441be63fb738fc7fd81;p=grml.org.git diff --git a/gen_website b/gen_website index a5933e5..12a4e1f 100755 --- a/gen_website +++ b/gen_website @@ -20,7 +20,7 @@ my $fh; my $m; my $conf; my $state; -if (eval {use Mirmon::Mirmon; 1 } && -f $masterlist && -f $mirmonconf) { +if (eval {require Mirmon; 1 } && -f $masterlist && -f $mirmonconf) { $have_mirmon = 1; open ($fh, '<', $masterlist) or die "Could not open $masterlist: $!"; $m = Mirmon ->new($mirmonconf);