diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-05-25 15:38:15 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-05-25 15:38:15 +0300 |
commit | 2c54c6abbf4c6ee44d0693133a2f373621832ffb (patch) | |
tree | 69981d4a59fc24ce856d6eee3e96c8035e989839 /lib/rpmscript.c | |
parent | a2b999df2e71dd7b595ad329e26efe80eabb9d1f (diff) | |
download | librpm-tizen-2c54c6abbf4c6ee44d0693133a2f373621832ffb.tar.gz librpm-tizen-2c54c6abbf4c6ee44d0693133a2f373621832ffb.tar.bz2 librpm-tizen-2c54c6abbf4c6ee44d0693133a2f373621832ffb.zip |
Move scriptlet statistics collection (back) inside psm
- removes one rpmts dependency from scriptlets
Diffstat (limited to 'lib/rpmscript.c')
-rw-r--r-- | lib/rpmscript.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/rpmscript.c b/lib/rpmscript.c index 11a78f65e..a808e2e05 100644 --- a/lib/rpmscript.c +++ b/lib/rpmscript.c @@ -320,13 +320,11 @@ rpmRC rpmScriptRun(rpmScript script, int arg1, int arg2, argvAdd(&args, "/bin/sh"); } - rpmswEnter(rpmtsOp(ts, RPMTS_OP_SCRIPTLETS), 0); if (rstreq(args[0], "<lua>")) { rc = runLuaScript(ts, prefixes, script->descr, lvl, &args, script->body, arg1, arg2); } else { rc = runExtScript(ts, prefixes, script->descr, lvl, &args, script->body, arg1, arg2); } - rpmswExit(rpmtsOp(ts, RPMTS_OP_SCRIPTLETS), 0); argvFree(args); return rc; |