diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2004-11-24 18:32:46 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2004-11-24 18:32:46 +0000 |
commit | a851747b92213cfeffead634414cb36d9fc576a6 (patch) | |
tree | 82efe01fd523f6b5806c431dbb5981182301e8f4 /urpmi | |
parent | d0975a4dc82a25a2f1e2105e9c405fcaf067bdfa (diff) | |
download | urpmi-a851747b92213cfeffead634414cb36d9fc576a6.tar urpmi-a851747b92213cfeffead634414cb36d9fc576a6.tar.gz urpmi-a851747b92213cfeffead634414cb36d9fc576a6.tar.bz2 urpmi-a851747b92213cfeffead634414cb36d9fc576a6.tar.xz urpmi-a851747b92213cfeffead634414cb36d9fc576a6.zip |
- add --search-media options: looking requested or package to update with --auto-select in given media
- replace a die() by $urpm->{fatal}()
Diffstat (limited to 'urpmi')
-rwxr-xr-x | urpmi | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -30,6 +30,7 @@ my $urpm = new urpm; #- default options. our $update = 0; our $media = ''; +our $searchmedia = undef; our $excludemedia = ''; our $sortmedia = ''; our $synthesis = ''; @@ -74,6 +75,7 @@ usage: ", $urpm::VERSION) . N(" --help - print this help message. ") . N(" --update - use only update media. ") . N(" --media - use only the given media, separated by comma. +") . N(" --searchmedia - use only the given media to search requested (or updated) packages. ") . N(" --excludemedia - do not use the given media, separated by comma. ") . N(" --sortmedia - sort media according to substrings separated by comma. ") . N(" --synthesis - use the given synthesis instead of urpmi db. @@ -318,6 +320,7 @@ unless ($env) { } $urpm->configure(nocheck_access => $env || $< != 0, media => $media, + searchmedia => $searchmedia, excludemedia => $excludemedia, sortmedia => $sortmedia, synthesis => $synthesis, |