summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2013-02-22 11:54:57 +0200
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-06-11 17:48:02 +0300
commit63320c6233bf11a526d9c1108b367bf5278d7e99 (patch)
tree35f1e4fa6c5220253e47a6c612f9038ed76e15bc
parent168f1c3782a7e7831bbaa5f5ef2a33aa402334fd (diff)
downloadlibrpm-tizen-63320c6233bf11a526d9c1108b367bf5278d7e99.tar.gz
librpm-tizen-63320c6233bf11a526d9c1108b367bf5278d7e99.tar.bz2
librpm-tizen-63320c6233bf11a526d9c1108b367bf5278d7e99.zip
Ignore unknown internal scripts
In pre, preun etc scriptlet interpreters. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r--build/parseScript.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/parseScript.c b/build/parseScript.c
index 1a149e137..87765a0c5 100644
--- a/build/parseScript.c
+++ b/build/parseScript.c
@@ -297,10 +297,9 @@ int parseScript(rpmSpec spec, int parsePart)
} else
#endif
if (progArgv[0][0] == '<') {
- rpmlog(RPMLOG_ERR,
+ rpmlog(RPMLOG_INFO,
_("line %d: unsupported internal script: %s\n"),
spec->lineNum, progArgv[0]);
- goto exit;
} else {
(void) addReqProv(pkg->header, RPMTAG_REQUIRENAME,
progArgv[0], NULL, (tagflags | RPMSENSE_INTERP), 0);