From c4fc38e99a5bfb45421b3ab929eaf829585fd30e Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 14 Jan 2011 07:43:10 +0000 Subject: check for rpmbuild binary, not just rpm --- lib/Iurt/Urpmi.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 328c4e0..7dff2d4 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -542,7 +542,7 @@ sub install_packages { # URPMI saying ok or not, we check this anyway. So that's why # it's outside the else. - if (! -f "$chroot_tmp/bin/rpm") { + if (! -f "$chroot_tmp/usr/bin/rpmbuild") { plog(1, "ERROR: rpm-build is missing!"); $ok = 0; } -- cgit v1.2.1