index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Xavier Chantry <shiningxc@gmail.com> | 2009-10-10 22:49:24 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2009-10-11 15:18:47 -0500 |
commit | 14ab02e289668e30d33c473e00fc43e5dc457644 (patch) | |
tree | 1cd09f8ca603d61e5b0486bb55c3982c1d6416f5 /lib/libalpm/trans.c | |
parent | 471b1fa54395f7f16939e213f50aaf76f390553b (diff) |
-rw-r--r-- | lib/libalpm/trans.c | 2 |
diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index de45aeae..65bd4642 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -368,7 +368,7 @@ int _alpm_runscriptlet(const char *root, const char *installfn, /* either extract or copy the scriptlet */ snprintf(scriptfn, PATH_MAX, "%s/.INSTALL", tmpdir); if(!strcmp(script, "pre_upgrade") || !strcmp(script, "pre_install")) { - if(_alpm_unpack(installfn, tmpdir, ".INSTALL")) { + if(_alpm_unpack_single(installfn, tmpdir, ".INSTALL")) { retval = 1; } } else { |