diff options
author | Francois Pons <fpons@mandriva.com> | 2003-04-01 09:15:47 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2003-04-01 09:15:47 +0000 |
commit | 50f1f8b6fe1da1727decd1833556f53810b5e214 (patch) | |
tree | b280135f5c30603c07e2bd85c664b9bcf81714d6 | |
parent | f4333142007cac396f4cc55a3fedeb9659324970 (diff) | |
download | urpmi-50f1f8b6fe1da1727decd1833556f53810b5e214.tar urpmi-50f1f8b6fe1da1727decd1833556f53810b5e214.tar.gz urpmi-50f1f8b6fe1da1727decd1833556f53810b5e214.tar.bz2 urpmi-50f1f8b6fe1da1727decd1833556f53810b5e214.tar.xz urpmi-50f1f8b6fe1da1727decd1833556f53810b5e214.zip |
fixed --excludepath options.
-rwxr-xr-x | urpmi | 8 | ||||
-rw-r--r-- | urpmi.spec | 3 |
2 files changed, 7 insertions, 4 deletions
@@ -570,7 +570,7 @@ if (%sources_install || %sources) { #- no remove are handle here, automatically done by each distant node. $urpm->{log}("starting distributed install"); $urpm->parallel_install([ keys %{$state->{ask_remove} || {}} ], \%sources_install, \%sources, - test => $test, excludepath => $excludepath); + test => $test, excludepath => $urpm->{options}{excludepath}); } else { message(N("installing %s\n", join(' ', values %sources_install, values %sources)), 'noX'); log_it(scalar localtime, " ", join(' ', values %sources_install, values %sources), "\n"); @@ -589,7 +589,7 @@ if (%sources_install || %sources) { my @l = $urpm->install([ keys %{$state->{ask_remove} || {}} ], \%sources_install, \%sources, translate_message => 1, oldpackage => $state->{oldpackage}, post_clean_cache => $urpm->{options}{'post-clean'}, - test => $test, excludepath => $excludepath); + test => $test, excludepath => $urpm->{options}{excludepath}); if (@l) { message(N("Installation failed") . ":\n" . join("\n", map { "\t$_" } @l)); @@ -604,7 +604,7 @@ if (%sources_install || %sources) { @l = $urpm->install([ keys %{$state->{ask_remove} || {}} ], \%sources_install, \%sources, translate_message => 1, nodeps => 1, oldpackage => $state->{oldpackage}, post_clean_cache => $urpm->{options}{'post-clean'}, - test => $test, excludepath => $excludepath); + test => $test, excludepath => $urpm->{options}{excludepath}); if (@l) { message(N("Installation failed") . ":\n" . join("\n", map { "\t$_" } @l)); !$urpm->{options}{'allow-force'} and exit 1; @@ -614,7 +614,7 @@ if (%sources_install || %sources) { @l = $urpm->install([ keys %{$state->{ask_remove} || {}} ], \%sources_install, \%sources, translate_message => 1, nodeps => 1, force => 1, oldpackage => $state->{oldpackage}, post_clean_cache => $urpm->{options}{'post-clean'}, - test => $test, excludepath => $excludepath); + test => $test, excludepath => $urpm->{options}{excludepath}); @l and $urpm->fatal(2, N("Installation failed") . ":\n" . join("\n", map { "\t$_" } @l)); } } else { @@ -199,6 +199,9 @@ $urpm->update_media; %changelog + +- fixed --excludepath option. + * Fri Mar 28 2003 Guillaume Cottenceau <gc@mandrakesoft.com> 4.2-35mdk - add perl-MDK-Common-devel in the BuildRequires: because we need perl_checker to build (silly, no?), thx Stefan |