mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
New ORE tag
This commit is contained in:
parent
22c0037a08
commit
b8bd907dc9
@ -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);
|
strncpy(str, ((char *)data) ? (char *)data : PM_DBPATH, PATH_MAX);
|
||||||
handle->dbpath = strdup(str);
|
handle->dbpath = strdup(str);
|
||||||
_alpm_log(PM_LOG_FLOW2, "PM_OPT_DBPATH set to '%s'", handle->dbpath);
|
_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;
|
break;
|
||||||
case PM_OPT_LOGFILE:
|
case PM_OPT_LOGFILE:
|
||||||
if((char *)data == NULL || getuid() != 0) {
|
if((char *)data == NULL || getuid() != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user