summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-16 21:17:07 +0100
committerAurelien Foret <aurelien@archlinux.org>2005-03-16 21:17:07 +0100
commit57df73517fcaf13f3e576dcb6631d676a04764f5 (patch)
treeedbda63f1ea80d27704a32815454189911760f39 /lib
parent7c04b050ea6d194392b82165ce08e89e97e4127c (diff)
downloadpacman-57df73517fcaf13f3e576dcb6631d676a04764f5.tar.gz
pacman-57df73517fcaf13f3e576dcb6631d676a04764f5.tar.xz
One more ORE comment
Diffstat (limited to 'lib')
-rw-r--r--lib/libalpm/add.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index d6e4d9d8..4d1bdd1f 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -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);