1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-21 23:38:49 -05:00

New ORE tag

This commit is contained in:
Aurelien Foret 2005-03-16 20:25:38 +00:00
parent 22c0037a08
commit b8bd907dc9

View File

@ -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) {