]> git.deb.at Git - deb/packages.git/commitdiff
Packages::DoIndex: Fix typo in error message
authorFrank Lichtenheld <frank@lichtenheld.de>
Sat, 20 Oct 2007 19:42:05 +0000 (21:42 +0200)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sat, 20 Oct 2007 19:53:21 +0000 (21:53 +0200)
s/suite/subsection/

lib/Packages/DoIndex.pm

index 1c8f52a5eacc6bd38de79eda4b8909bc125b6938..416f3db56db8fc3ec8b1c81180554f69a5e3b0e1 100644 (file)
@@ -34,7 +34,7 @@ sub send_file {
        fatal_error( sprintf( _g( "more than one suite specified for show_static (%s)" ), "@{$opts->{suite}}" ) );
     }
     if (@{$opts->{subsection}} > 1) {
        fatal_error( sprintf( _g( "more than one suite specified for show_static (%s)" ), "@{$opts->{suite}}" ) );
     }
     if (@{$opts->{subsection}} > 1) {
-       fatal_error( sprintf( _g( "more than one suite specified for show_static (%s)" ), "@{$opts->{suite}}" ) );
+       fatal_error( sprintf( _g( "more than one subsection specified for show_static (%s)" ), "@{$opts->{suite}}" ) );
     }
 
     my $wwwdir = "$TOPDIR/www";
     }
 
     my $wwwdir = "$TOPDIR/www";