summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-02-25 17:57:09 +0000
committerThierry Vignaud <tv@mageia.org>2013-02-25 17:57:09 +0000
commit5bc28dbaad0b60970581795fb8a218c238f36313 (patch)
tree2481ae07c57d99e5e801d28a87599772de89c3b4
parentc321dec104a199b5858e940eff4e1fbcebfb42c6 (diff)
downloadurpmi-5bc28dbaad0b60970581795fb8a218c238f36313.tar
urpmi-5bc28dbaad0b60970581795fb8a218c238f36313.tar.gz
urpmi-5bc28dbaad0b60970581795fb8a218c238f36313.tar.bz2
urpmi-5bc28dbaad0b60970581795fb8a218c238f36313.tar.xz
urpmi-5bc28dbaad0b60970581795fb8a218c238f36313.zip
(configure) simplify
-rw-r--r--urpm/media.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index ff89df9c..3224407d 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -733,10 +733,10 @@ sub configure {
_pick_mirror_if_needed($urpm, $_, '') foreach non_ignored_media($urpm, $options{update});
- parse_media($urpm, \%options) if !$options{nodepslist};
-
- #- determine package to withdraw (from skip.list file) only if something should be withdrawn.
if (!$options{nodepslist}) {
+ parse_media($urpm, \%options);
+
+ #- determine package to withdraw (from skip.list file) only if something should be withdrawn.
_compute_flags_for_skiplist($urpm, $options{cmdline_skiplist}) if !$options{no_skiplist};
_compute_flags_for_instlist($urpm);
}