summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-08-21 09:13:53 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-08-21 09:13:53 +0000
commita49b375e0fab763b496f00bb4195b91a5326edfd (patch)
tree8e89ca26c8f4930d36e69a7521bb2fe07aca8984
parentf866f651d88c4937d6cec784664f03290cc7c210 (diff)
downloadurpmi-a49b375e0fab763b496f00bb4195b91a5326edfd.tar
urpmi-a49b375e0fab763b496f00bb4195b91a5326edfd.tar.gz
urpmi-a49b375e0fab763b496f00bb4195b91a5326edfd.tar.bz2
urpmi-a49b375e0fab763b496f00bb4195b91a5326edfd.tar.xz
urpmi-a49b375e0fab763b496f00bb4195b91a5326edfd.zip
minimal re-indent to make things clear
-rw-r--r--urpm/media.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/urpm/media.pm b/urpm/media.pm
index ab9c6760..3e11710c 100644
--- a/urpm/media.pm
+++ b/urpm/media.pm
@@ -574,12 +574,13 @@ sub configure {
} elsif ($options{usedistrib}) {
$urpm->{media} = [];
add_distrib_media($urpm, "Virtual", $options{usedistrib}, %options, virtual => 1, on_the_fly => 1);
- } else {
+ } else {
read_config($urpm);
if (!$options{media} && $urpm->{options}{'default-media'}) {
$options{media} = $urpm->{options}{'default-media'};
}
- }
+ }
+
if ($options{media}) {
delete $_->{modified} foreach @{$urpm->{media} || []};
select_media($urpm, split /,/, $options{media});