index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-03-22 08:28:09 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-03-22 08:28:09 +0000 |
commit | 118671eff46e42de592a9ac4f6ab5fa32c0f907f (patch) | |
tree | fddbaadde4dd1367f6de4c54f3f91ffb0986cc00 | |
parent | d8ec08f578f413ef63ad6c23cbc11b1cb70ffd69 (diff) |
-rw-r--r-- | lib/libalpm/add.c | 4 |
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c index 0c344544..1ec04371 100644 --- a/lib/libalpm/add.c +++ b/lib/libalpm/add.c @@ -361,7 +361,7 @@ int _alpm_add_commit(pmtrans_t *trans, pmdb_t *db) /* pre_upgrade scriptlet */ if(alpm_pkg_has_scriptlet(newpkg) && !(trans->flags & PM_TRANS_FLAG_NOSCRIPTLET)) { - _alpm_runscriptlet(handle->root, scriptlet, "pre_upgrade", newpkg->version, oldpkg->version, trans); + _alpm_runscriptlet(handle->root, newpkg->data, "pre_upgrade", newpkg->version, oldpkg->version, trans); } } else { is_upgrade = 0; @@ -371,7 +371,7 @@ int _alpm_add_commit(pmtrans_t *trans, pmdb_t *db) /* pre_install scriptlet */ if(alpm_pkg_has_scriptlet(newpkg) && !(trans->flags & PM_TRANS_FLAG_NOSCRIPTLET)) { - _alpm_runscriptlet(handle->root, scriptlet, "pre_install", newpkg->version, NULL, trans); + _alpm_runscriptlet(handle->root, newpkg->data, "pre_install", newpkg->version, NULL, trans); } } |