|
|
@@ -156,7 +156,7 @@ sub conditional ($$) {
|
|
|
my($RPM,$CURL,$PROG);
|
|
|
|
|
|
$RPM = $opt_R || $env{''}->{'R'} ||
|
|
|
- ((-f "@l_prefix@/bin/openpkg" && -f "@l_prefix@/libexec/rpm") ?
|
|
|
+ ((-f "@l_prefix@/bin/openpkg" && -f "@l_prefix@/libexec/openpkg/rpm") ?
|
|
|
"@l_prefix@/bin/openpkg rpm" : "@l_prefix@/bin/rpm");
|
|
|
$RPM = (`which $RPM` =~ m{^(/.*)})[0] if ($RPM !~ m|^/|);
|
|
|
die "FATAL: cannot locate rpm in path\n" unless $RPM =~ m{^/};
|