diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-13 11:36:12 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2006-02-13 11:36:12 +0000 |
commit | e8d23308b6cc525f4e9dea8fb9e2923055051353 (patch) | |
tree | ad77c313986c5d81af81654d15a123c5158ae5d4 | |
parent | d9d51d48161223ff697f5019ec3e0a9e51663ccc (diff) | |
download | urpmi-e8d23308b6cc525f4e9dea8fb9e2923055051353.tar urpmi-e8d23308b6cc525f4e9dea8fb9e2923055051353.tar.gz urpmi-e8d23308b6cc525f4e9dea8fb9e2923055051353.tar.bz2 urpmi-e8d23308b6cc525f4e9dea8fb9e2923055051353.tar.xz urpmi-e8d23308b6cc525f4e9dea8fb9e2923055051353.zip |
Add ignorearch option to urpmq
-rw-r--r-- | pod/urpmq.8.pod | 8 | ||||
-rw-r--r-- | urpm/args.pm | 1 | ||||
-rw-r--r-- | urpmi.bash-completion | 2 | ||||
-rwxr-xr-x | urpmq | 2 |
4 files changed, 10 insertions, 3 deletions
diff --git a/pod/urpmq.8.pod b/pod/urpmq.8.pod index 8da9a7e6..ed4a7649 100644 --- a/pod/urpmq.8.pod +++ b/pod/urpmq.8.pod @@ -106,8 +106,12 @@ packages. (Can be used by the superuser only.) =item B<--force> -Continue when requesting -packages that are not available. +Continue when requesting packages that are not available. + +=item B<--ignorearch> + +Allow to search packages whose architecture isn't compatible with the +architecture of the host. =item B<--parallel> I<alias> diff --git a/urpm/args.pm b/urpm/args.pm index b586cacd..706a1d0a 100644 --- a/urpm/args.pm +++ b/urpm/args.pm @@ -217,6 +217,7 @@ my %options_spec = ( 'list-url' => \$options{list_url}, 'list-nodes' => \$options{list_nodes}, 'list-aliases' => \$options{list_aliases}, + 'ignorearch' => \$options{ignorearch}, 'dump-config' => \$options{dump_config}, 'src|s' => \$options{src}, sources => \$options{sources}, diff --git a/urpmi.bash-completion b/urpmi.bash-completion index 11a03dc5..9f4188c8 100644 --- a/urpmi.bash-completion +++ b/urpmi.bash-completion @@ -136,7 +136,7 @@ _urpmq() --list --list-url --list-media --list-nodes --list-aliases \ --src --sources --force --parallel --wget --curl \ --changelog --proxy --proxy-user --env --dump-config \ - --use-distrib --searchmedia' -- $cur)) + --use-distrib --searchmedia --ignorearch' -- $cur)) else # return available packages (unless it is clearly a file) and rpm files if [[ "$cur" != */* ]]; then @@ -61,6 +61,7 @@ usage: ") . N(" --src - next package is a source package (same as -s). ") . N(" --sources - give all source packages before downloading (root only). ") . N(" --force - force invocation even if some packages do not exist. +") . N(" --ignorearch - allow to query rpms for unmatched architectures. ") . N(" --parallel - distributed urpmi across machines of alias. ") . N(" --use-distrib - configure urpmi on the fly from a distrib tree. This permit to querying a distro. @@ -199,6 +200,7 @@ if ($urpm::args::options{list_aliases}) { fuzzy => $urpm::args::options{fuzzy}, caseinsensitive => $urpm::args::options{caseinsensitive}, all => $urpm::args::options{all}, + ignorearch => $urpm::args::options{ignorearch}, ) or $urpm::args::options{force} or exit 1; } |