diff options
author | jbj <devnull@localhost> | 2002-12-26 23:19:17 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2002-12-26 23:19:17 +0000 |
commit | be9a1f9007cbeb6955004c8309d1b9ebfb35d09a (patch) | |
tree | 99c9da7aeac47c95b5dc4667729582fe78539d00 /build | |
parent | 1aa83a98fc49f0a4dc272f12d33f425b632b52dd (diff) | |
download | rpm-be9a1f9007cbeb6955004c8309d1b9ebfb35d09a.tar.gz rpm-be9a1f9007cbeb6955004c8309d1b9ebfb35d09a.tar.bz2 rpm-be9a1f9007cbeb6955004c8309d1b9ebfb35d09a.zip |
Don't fire helper for executable requires.
CVS patchset: 5974
CVS date: 2002/12/26 23:19:17
Diffstat (limited to 'build')
-rw-r--r-- | build/rpmfc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/build/rpmfc.c b/build/rpmfc.c index bbe885bba..905b091a8 100644 --- a/build/rpmfc.c +++ b/build/rpmfc.c @@ -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; |