diff options
author | Andrew Gregory <andrew.gregory.8@gmail.com> | 2015-11-11 19:20:00 -0500 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-11-28 22:52:11 +1000 |
commit | 8ad893732d44960d04cb476c436b7ea045626f07 (patch) | |
tree | 4da6fb6a66843b8373bdee87773549db7295dbe2 /lib/libalpm/trans.c | |
parent | b42d0852f31ce7cef75da5ce51e6c09545ef8f2d (diff) | |
download | pacman-8ad893732d44960d04cb476c436b7ea045626f07.tar.xz |
allow specifying input to scriptlets
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/trans.c')
-rw-r--r-- | lib/libalpm/trans.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index a6b1aef6..06997a09 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -391,7 +391,7 @@ int _alpm_runscriptlet(alpm_handle_t *handle, const char *filepath, _alpm_log(handle, ALPM_LOG_DEBUG, "executing \"%s\"\n", cmdline); - retval = _alpm_run_chroot(handle, SCRIPTLET_SHELL, argv); + retval = _alpm_run_chroot(handle, SCRIPTLET_SHELL, argv, NULL, NULL); cleanup: if(scriptfn && unlink(scriptfn)) { |