One more ORE comment

This commit is contained in:
Aurelien Foret 2005-03-16 20:17:07 +00:00
parent 7c04b050ea
commit 57df73517f
1 changed files with 2 additions and 0 deletions

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);