Ignore unknown internal scripts
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 22 Feb 2013 09:54:57 +0000 (11:54 +0200)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Wed, 11 Jun 2014 14:48:02 +0000 (17:48 +0300)
In pre, preun etc scriptlet interpreters.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
build/parseScript.c

index 1a149e137ca3f2915401b23f6f4e0409153285bd..87765a0c5fe2ca3c01c206a8fb91f6ba1f066344 100644 (file)
@@ -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);