summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-04-01 09:15:47 +0000
committerFrancois Pons <fpons@mandriva.com>2003-04-01 09:15:47 +0000
commit50f1f8b6fe1da1727decd1833556f53810b5e214 (patch)
treeb280135f5c30603c07e2bd85c664b9bcf81714d6
parentf4333142007cac396f4cc55a3fedeb9659324970 (diff)
downloadurpmi-50f1f8b6fe1da1727decd1833556f53810b5e214.tar
urpmi-50f1f8b6fe1da1727decd1833556f53810b5e214.tar.gz
urpmi-50f1f8b6fe1da1727decd1833556f53810b5e214.tar.bz2
urpmi-50f1f8b6fe1da1727decd1833556f53810b5e214.tar.xz
urpmi-50f1f8b6fe1da1727decd1833556f53810b5e214.zip
fixed --excludepath options.
-rwxr-xr-xurpmi8
-rw-r--r--urpmi.spec3
2 files changed, 7 insertions, 4 deletions
diff --git a/urpmi b/urpmi
index c97a469c..24cae56f 100755
--- a/urpmi
+++ b/urpmi
@@ -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 {
diff --git a/urpmi.spec b/urpmi.spec
index a15ec72d..4c76e12f 100644
--- a/urpmi.spec
+++ b/urpmi.spec
@@ -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