mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-21 23:38:49 -05:00
Removed a hardcoded reference to the 'local' database in db_create()
This commit is contained in:
parent
606c70fdc9
commit
fac045a958
@ -89,7 +89,7 @@ int db_create(char *root, char *dbpath, char *treename)
|
||||
return(-1);
|
||||
}
|
||||
|
||||
snprintf(path, PATH_MAX, "%s%s/local", root, dbpath);
|
||||
snprintf(path, PATH_MAX, "%s%s/%s", root, dbpath);
|
||||
if(_alpm_makepath(path) != 0) {
|
||||
return(-1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user