libalpm/db.c: default to ALPM_DB_USAGE_ALL
This allows existing front-ends other than pacman to continue working normally. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
a8285350cc
commit
8f5dbd5614
1 changed files with 1 additions and 0 deletions
|
@ -323,6 +323,7 @@ alpm_db_t *_alpm_db_new(const char *treename, int is_local)
|
||||||
} else {
|
} else {
|
||||||
db->status &= ~DB_STATUS_LOCAL;
|
db->status &= ~DB_STATUS_LOCAL;
|
||||||
}
|
}
|
||||||
|
db->usage = ALPM_DB_USAGE_ALL;
|
||||||
|
|
||||||
return db;
|
return db;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue