summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-09-23 15:36:15 +0000
committerFrancois Pons <fpons@mandriva.com>2003-09-23 15:36:15 +0000
commitdd5f0a0706cdd46d1ca8c0408d8c6df84d6c3287 (patch)
tree80a6af18af3f03abab778716f3e28d9b39d51622
parent188c2418d6b3c469017f162488298ccf4926d59b (diff)
downloadurpmi-dd5f0a0706cdd46d1ca8c0408d8c6df84d6c3287.tar
urpmi-dd5f0a0706cdd46d1ca8c0408d8c6df84d6c3287.tar.gz
urpmi-dd5f0a0706cdd46d1ca8c0408d8c6df84d6c3287.tar.bz2
urpmi-dd5f0a0706cdd46d1ca8c0408d8c6df84d6c3287.tar.xz
urpmi-dd5f0a0706cdd46d1ca8c0408d8c6df84d6c3287.zip
clean reason of removing package.
-rw-r--r--urpm/parallel_ka_run.pm1
-rw-r--r--urpm/parallel_ssh.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/urpm/parallel_ka_run.pm b/urpm/parallel_ka_run.pm
index 7b8792f4..2d3039eb 100644
--- a/urpm/parallel_ka_run.pm
+++ b/urpm/parallel_ka_run.pm
@@ -61,6 +61,7 @@ sub parallel_find_remove {
if (exists $bad_nodes{$node}) {
/^\s+(.+)/ and push @{$bad_nodes{$node}}, $1;
} else {
+ s/\s*\(.*//; #- remove reason (too complex to handle and needed to be removed).
$state->{rejected}{$_}{removed} = 1;
$state->{rejected}{$_}{nodes}{$node} = undef;
}
diff --git a/urpm/parallel_ssh.pm b/urpm/parallel_ssh.pm
index cfd9afe4..5d885e1b 100644
--- a/urpm/parallel_ssh.pm
+++ b/urpm/parallel_ssh.pm
@@ -64,6 +64,7 @@ sub parallel_find_remove {
if (exists $bad_nodes{$node}) {
/^\s+(.*)/ and push @{$bad_nodes{$node}}, $1;
} else {
+ s/\s*\(.*//; #- remove reason (too complex to handle and needed to be removed).
$state->{rejected}{$_}{removed} = 1;
$state->{rejected}{$_}{nodes}{$node} = undef;
}