summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {