From: Frank Lichtenheld Date: Sun, 9 Dec 2007 17:34:34 +0000 (+0100) Subject: Packages::Dispatcher: Match archives after architectures X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=26071d70629960f3b82536c654e3374738404dbe;p=deb%2Fpackages.git Packages::Dispatcher: Match archives after architectures For the sake of amd64 *sigh* --- diff --git a/lib/Packages/Dispatcher.pm b/lib/Packages/Dispatcher.pm index 7329740..f65ec1a 100755 --- a/lib/Packages/Dispatcher.pm +++ b/lib/Packages/Dispatcher.pm @@ -198,8 +198,6 @@ sub do_dispatch { set_param_once( $input, \%params_set, 'suite', $s); } elsif (!$need_pkg && $SECTIONS{$_}) { set_param_once( $input, \%params_set, 'section', $_); - } elsif (!$need_pkg && $ARCHIVES{$_}) { - set_param_once( $input, \%params_set, 'archive', $_); } elsif (!$need_pkg && $sections_descs{$_}) { set_param_once( $input, \%params_set, 'subsection', $_); } elsif (!$need_pkg && ($_ eq 'source')) { @@ -207,6 +205,8 @@ sub do_dispatch { } elsif ($ARCHITECTURES{$_}) { set_param_once( $input, \%params_set, 'arch', $_) unless $_ eq 'any'; + } elsif (!$need_pkg && $ARCHIVES{$_}) { + set_param_once( $input, \%params_set, 'archive', $_); } elsif ($PRIORITIES{$_}) { set_param_once( $input, \%params_set, 'priority', $_); } else {