From 26071d70629960f3b82536c654e3374738404dbe Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sun, 9 Dec 2007 18:34:34 +0100 Subject: [PATCH] Packages::Dispatcher: Match archives after architectures For the sake of amd64 *sigh* --- lib/Packages/Dispatcher.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.2