pve-docs-mediawiki-import.in: correctly pass category parameter

This commit is contained in:
Dietmar Maurer 2016-10-14 08:07:15 +02:00
parent 4068809967
commit c5bf6350d8

View File

@ -80,7 +80,7 @@ foreach my $source (sort keys %{$fileinfo->{toplevel}->{wiki}}) {
my $path = "/usr/share/pve-docs/$filename"; my $path = "/usr/share/pve-docs/$filename";
die "no such file '$path'" if ! -f $path; die "no such file '$path'" if ! -f $path;
update_page($title, $filename, category => $cat_refdoc); update_page($title, $filename, $cat_refdoc);
} }
# also update 'Get support' page, because this is used since a long # also update 'Get support' page, because this is used since a long