projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aa83a9
)
Don't fire helper for executable requires.
author
jbj
<devnull@localhost>
Thu, 26 Dec 2002 23:19:17 +0000
(23:19 +0000)
committer
jbj
<devnull@localhost>
Thu, 26 Dec 2002 23:19:17 +0000
(23:19 +0000)
CVS patchset: 5974
CVS date: 2002/12/26 23:19:17
build/rpmfc.c
patch
|
blob
|
history
diff --git
a/build/rpmfc.c
b/build/rpmfc.c
index
bbe885b
..
905b091
100644
(file)
--- 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;