Don't fire helper for executable requires.

CVS patchset: 5974
CVS date: 2002/12/26 23:19:17
This commit is contained in:
jbj 2002-12-26 23:19:17 +00:00
parent 1aa83a98fc
commit be9a1f9007
1 changed files with 4 additions and 2 deletions

View File

@ -708,11 +708,13 @@ static int rpmfcSCRIPT(rpmfc fc)
if (fc->fcolor->vals[fc->ix] & RPMFC_PERL) {
xx = rpmfcHelper(fc, 'P', "perl");
xx = rpmfcHelper(fc, 'R', "perl");
if (is_executable)
xx = rpmfcHelper(fc, 'R', "perl");
}
if (fc->fcolor->vals[fc->ix] & RPMFC_PYTHON) {
xx = rpmfcHelper(fc, 'P', "python");
xx = rpmfcHelper(fc, 'R', "python");
if (is_executable)
xx = rpmfcHelper(fc, 'R', "python");
}
return 0;