Репозитории ALT
S: | 0.5.15lorg2-alt86 |
5.1: | 0.5.15lorg2-alt33.M50P.1 |
4.1: | 0.5.15lorg2-alt20.M41.1 |
4.0: | 0.5.15lorg2-alt18.M40.1 |
+updates: | 0.5.15lorg2-alt18 |
3.0: | 0.5.15cnc6-alt16 |
Группа :: Система/Настройка/Пакеты
Пакет: apt
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: apt-0.5.15lorg2-alt-exit-status.patch
Скачать
Скачать
--- apt-0.5.15lorg2/apt-pkg/rpm/rpmpm.cc- 2007-04-19 01:09:58 +0400
+++ apt-0.5.15lorg2/apt-pkg/rpm/rpmpm.cc 2007-04-19 01:12:02 +0400
@@ -922,11 +922,11 @@ bool pkgRPMLibPM::Process(vector<const c
_error->Error(_("Error while running transaction"));
if (probs->numProblems > 0)
rpmpsPrint(stderr, probs);
+ } else if (rc < 0) {
+ _error->Error(_("Some errors occurred while running transaction"));
} else {
Success = true;
- if (rc < 0)
- _error->Warning(_("Some errors occurred while running transaction"));
- else if (quiet <= 2)
+ if (quiet <= 2)
cout << _("Done.") << endl;
}
rpmpsFree(probs);