diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-10-29 16:33:26 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-10-29 16:33:26 +0000 |
commit | 5e10932dd221d5ff4033337baee57b3e630946ba (patch) | |
tree | b2b6d75f975833214213626ab89b1f39a666c4fa /urpm | |
parent | dbfc6fa31b17191bc618727a2752ceab163ab4bb (diff) | |
download | urpmi-5e10932dd221d5ff4033337baee57b3e630946ba.tar urpmi-5e10932dd221d5ff4033337baee57b3e630946ba.tar.gz urpmi-5e10932dd221d5ff4033337baee57b3e630946ba.tar.bz2 urpmi-5e10932dd221d5ff4033337baee57b3e630946ba.tar.xz urpmi-5e10932dd221d5ff4033337baee57b3e630946ba.zip |
drop obsolete stuff
it should have been dropped in commit:
: r14827 | rgarciasuarez | 2005-02-17 16:01:39 +0100 (Thu, 17 Feb 2005) | 2 lines
: Remove obsoleted and broken --distrib-XXX command-line option
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/args.pm | 1 | ||||
-rw-r--r-- | urpm/cfg.pm | 13 |
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__ |