summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm1
-rw-r--r--urpm/cfg.pm13
2 files changed, 0 insertions, 14 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index e5db95a3..5a6ff129 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -345,7 +345,6 @@ my %options_spec = (
'mirrorlist:s' => sub { $options{mirrorlist} = $_[1] || '$MIRRORLIST' },
interactive => sub { $options{interactive} = 1 },
'all-media' => sub { $options{allmedia} = 1 },
- 'from=s' => \$options{mirrors_url},
virtual => \$options{virtual},
nopubkey => \$options{nopubkey},
raw => \$options{raw},
diff --git a/urpm/cfg.pm b/urpm/cfg.pm
index a06c3557..8619eda9 100644
--- a/urpm/cfg.pm
+++ b/urpm/cfg.pm
@@ -319,19 +319,6 @@ sub write_ini_config {
}
}
-#- routines to handle mirror list location
-
-#- Default mirror list
-our $mirrors = 'http://www.mandrivalinux.com/mirrorsfull.list';
-
-sub mirrors_cfg () {
- foreach (cat_("/etc/urpmi/mirror.config")) {
- chomp; s/#.*$//; s/^\s*//; s/\s*$//;
- /^url\s*=\s*(.*)/ and $mirrors = $1;
- }
- return 1;
-}
-
1;
__END__