aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Urpmi.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Iurt/Urpmi.pm')
-rw-r--r--lib/Iurt/Urpmi.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index d22b90d..ff5b3e3 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -547,13 +547,7 @@ sub install_packages {
$ok = 0;
}
- # <mrl> URPMI saying ok or not, we check this anyway. So that's why
- # it's outside the else.
- if (! -f "$chroot_tmp/usr/bin/rpmbuild") {
- plog(1, "ERROR: rpm-build is missing!");
- $ok = 0;
- }
- elsif ($ok && (!@rpm || are_installed($chroot_tmp, @rpm))) {
+ if ($ok && (!@rpm || are_installed($chroot_tmp, @rpm))) {
plog("installation successful");
$ok = 1;
}