aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Urpmi.pm
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-01-14 07:43:10 +0000
committerOlivier Blin <blino@mageia.org>2011-01-14 07:43:10 +0000
commitc4fc38e99a5bfb45421b3ab929eaf829585fd30e (patch)
treedb9d3215a00ee0ef1042b4bc6213bcf2d55d1f22 /lib/Iurt/Urpmi.pm
parent32b5c9a1975bd9f41db54c5b37c85964669f743b (diff)
downloadiurt-c4fc38e99a5bfb45421b3ab929eaf829585fd30e.tar
iurt-c4fc38e99a5bfb45421b3ab929eaf829585fd30e.tar.gz
iurt-c4fc38e99a5bfb45421b3ab929eaf829585fd30e.tar.bz2
iurt-c4fc38e99a5bfb45421b3ab929eaf829585fd30e.tar.xz
iurt-c4fc38e99a5bfb45421b3ab929eaf829585fd30e.zip
check for rpmbuild binary, not just rpm
Diffstat (limited to 'lib/Iurt/Urpmi.pm')
-rw-r--r--lib/Iurt/Urpmi.pm2
1 files changed, 1 insertions, 1 deletions
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 {
# <mrl> 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;
}