]> git.deb.at Git - deb/packages.git/commitdiff
Packages::Dispatcher: Match archives after architectures
authorFrank Lichtenheld <frank@lichtenheld.de>
Sun, 9 Dec 2007 17:34:34 +0000 (18:34 +0100)
committerFrank Lichtenheld <frank@lichtenheld.de>
Sun, 9 Dec 2007 23:35:24 +0000 (00:35 +0100)
For the sake of amd64 *sigh*

lib/Packages/Dispatcher.pm

index 732974082a15436c3578d59df8d391be2285fe86..f65ec1ab4c6fe4fec8e2de38130a1e812b23f1b7 100755 (executable)
@@ -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 {