X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/f7ded1174dd8f4aec3371214bbadc1c1f7fc2e22..fd80cec18d4ad6f2f1ecbe1feb37f065b6bb1f26:/ikiwiki-transition?ds=inline diff --git a/ikiwiki-transition b/ikiwiki-transition index 7e99c878e..398b1a3c8 100755 --- a/ikiwiki-transition +++ b/ikiwiki-transition @@ -184,7 +184,9 @@ sub moveprefs { } sub deduplinks { - setstatdir(shift); + loadsetup(shift); + IkiWiki::loadplugins(); + IkiWiki::checkconfig(); IkiWiki::loadindex(); foreach my $page (keys %links) { my %l; @@ -237,7 +239,7 @@ sub usage { print STDERR "\tmoveprefs setupfile\n"; print STDERR "\thashpassword setupfile|srcdir\n"; print STDERR "\tindexdb setupfile|srcdir\n"; - print STDERR "\tdeduplinks setupfile|srcdir\n"; + print STDERR "\tdeduplinks setupfile\n"; exit 1; }