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 /urpmi.addmedia | |
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 'urpmi.addmedia')
-rwxr-xr-x | urpmi.addmedia | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia index a073c81c..bfc637ba 100755 --- a/urpmi.addmedia +++ b/urpmi.addmedia @@ -74,9 +74,7 @@ and [options] are from medium. ") . N(" --interactive - with --distrib, ask confirmation for each media ") . N(" --all-media - with --distrib, add every listed media -") . N(" --from - use specified url for list of mirrors, the default is - %s -", $urpm::cfg::mirrors) . N(" --virtual - create virtual media wich are always up-to-date. +") . N(" --virtual - create virtual media wich are always up-to-date. ") . N(" --no-md5sum - disable MD5SUM file checking. ") . N(" --nopubkey - don't import pubkey of added media ") . N(" --raw - add the media in config, but don't update it. @@ -90,13 +88,6 @@ and [options] are from $ENV{PATH} = "/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin"; delete @ENV{qw(ENV BASH_ENV IFS CDPATH)}; -#- parse /etc/urpmi/mirror.config if present, or use default mdk mirror. -#- the --from option overrides this setting. -if ($options{mirrors_url}) { - $urpm::cfg::mirrors = $options{mirrors_url}; -} else { - urpm::cfg::mirrors_cfg(); -} $options{force} = 0; my $urpm = urpm->new_parse_cmdline or usage(); |