Skip to content
Snippets Groups Projects
Commit a73ad4f0 authored by Allan McRae's avatar Allan McRae 💬 Committed by Dan McGee
Browse files

Separate local db directory creation and db write


Changelogs and install files were getting extracted into the local
db folder before it was manually created.  This created issues for
uses with 0077 umasks and was highlighted with the new sudo handling
of umasks (FS#12263).

This moves the local db creation to its own function which is called
before the start of package archive extraction.  Also, added a check
that the folder is actually created.

Signed-off-by: default avatarAllan McRae <allan@archlinux.org>
[Dan: rename to _alpm_db_prepare()]
Signed-off-by: default avatarDan McGee <dan@archlinux.org>
parent b3169a56
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment