ref: refs/heads/master
commit ccf280485344bce5b44a4af6d90239d648057db6
Author: Ján Kupec
Date: Sun Feb 15 21:40:58 2009 +0100
Show rpm output after installing/removing (bnc #369450).
---
src/callbacks/rpm.h | 20 +++++++++++++++++---
1 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/src/callbacks/rpm.h b/src/callbacks/rpm.h
index e9b6f3f..0251de3 100644
--- a/src/callbacks/rpm.h
+++ b/src/callbacks/rpm.h
@@ -126,7 +126,7 @@ struct ScanRpmDbReceive : public zypp::callback::ReceiveReportname() % resolvable->edition());
+ % resolvable->name() % resolvable->edition());
Zypper::instance()->out().progressStart("remove-resolvable", _label);
}
@@ -211,7 +211,14 @@ struct RemoveResolvableReportReceiver : public zypp::callback::ReceiveReportsetExitCode(ZYPPER_EXIT_ERR_ZYPP);
else
+ {
Zypper::instance()->out().progressEnd("remove-resolvable", _label);
+
+ // print additional rpm output
+ // bnc #369450
+ if (!reason.empty())
+ Zypper::instance()->out().info(reason);
+ }
}
};
@@ -233,7 +240,7 @@ struct InstallResolvableReportReceiver : public zypp::callback::ReceiveReportsetExitCode(ZYPPER_EXIT_ERR_ZYPP);
else
+ {
Zypper::instance()->out().progressEnd("install-resolvable", _label);
+
+ // print additional rpm output
+ // bnc #369450
+ if (!reason.empty())
+ Zypper::instance()->out().info(reason);
+ }
}
};
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org