1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 07:48:50 -05:00

One more ORE comment

This commit is contained in:
Aurelien Foret 2005-03-16 20:17:07 +00:00
parent 7c04b050ea
commit 57df73517f

View File

@ -554,6 +554,8 @@ int add_commit(pmdb_t *db, pmtrans_t *trans)
}
/* run the post-install script if it exists */
/* ORE
test info->scriplet before blindly calling runscriplet? */
snprintf(pm_install, PATH_MAX, "%s%s/%s/%s-%s/install", handle->root, handle->dbpath, db->treename, info->name, info->version);
if(pmo_upgrade) {
_alpm_runscriptlet(handle->root, pm_install, "post_upgrade", info->version, oldpkg ? oldpkg->version : NULL);