diff --git a/build/parseScript.c b/build/parseScript.c index 0a510b6..e13fec3 100644 --- a/build/parseScript.c +++ b/build/parseScript.c @@ -260,7 +260,7 @@ int parseScript(Spec spec, int parsePart) stripTrailingBlanksStringBuf(sb); p = getStringBuf(sb); - if (pkg->autoReq && *pkg->autoReq && strcmp(progArgv[0], "/bin/sh")) + if (pkg->autoReq && *pkg->autoReq) (void) addReqProv(spec, pkg->header, (tagflags | RPMSENSE_INTERP), progArgv[0], NULL, 0); /* Trigger script insertion is always delayed in order to */