1
0
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:
Aurelien Foret 2005-03-16 19:36:15 +00:00
parent 606c70fdc9
commit fac045a958

View File

@ -89,7 +89,7 @@ int db_create(char *root, char *dbpath, char *treename)
return(-1); 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) { if(_alpm_makepath(path) != 0) {
return(-1); return(-1);
} }