summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/handle.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-16 21:25:38 +0100
committerAurelien Foret <aurelien@archlinux.org>2005-03-16 21:25:38 +0100
commitb8bd907dc960afeb75bf472962e4cb183fe90c09 (patch)
tree91b0cd0caf703c68786684101582422cd4447c31 /lib/libalpm/handle.c
parent22c0037a082dc2ca31b64e41a65fd5ef939ea541 (diff)
downloadpacman-b8bd907dc960afeb75bf472962e4cb183fe90c09.tar.gz
pacman-b8bd907dc960afeb75bf472962e4cb183fe90c09.tar.xz
New ORE tag
Diffstat (limited to 'lib/libalpm/handle.c')
-rw-r--r--lib/libalpm/handle.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libalpm/handle.c b/lib/libalpm/handle.c
index 9fc7e5cf..59f4233f 100644
--- a/lib/libalpm/handle.c
+++ b/lib/libalpm/handle.c
@@ -133,6 +133,9 @@ int handle_set_option(pmhandle_t *handle, unsigned char val, unsigned long data)
strncpy(str, ((char *)data) ? (char *)data : PM_DBPATH, PATH_MAX);
handle->dbpath = strdup(str);
_alpm_log(PM_LOG_FLOW2, "PM_OPT_DBPATH set to '%s'", handle->dbpath);
+ /* ORE
+ We should browse all databases to update db->path fields with the new
+ DBPATH value */
break;
case PM_OPT_LOGFILE:
if((char *)data == NULL || getuid() != 0) {