2
0
mirror of https://github.com/opencultureconsulting/oai-pmh2.git synced 2025-03-30 00:00:30 +01:00

Unset umask before creating data directory

This commit is contained in:
Sebastian Meyer 2025-01-26 19:09:38 +01:00
parent f8e766e1e7
commit 5bf5be07ae

View File

@ -64,7 +64,7 @@
}, },
"scripts": { "scripts": {
"pre-install-cmd": [ "pre-install-cmd": [
"@php -r \"if (!is_dir('./data')) { mkdir('./data', 0775); }\"", "@php -r \"if (!is_dir('./data')) { umask(0); mkdir('./data', 0775); }\"",
"@php -r \"if (!file_exists('./config/config.yml')) { copy('./config/config.dist.yml', './config/config.yml'); }\"" "@php -r \"if (!file_exists('./config/config.yml')) { copy('./config/config.dist.yml', './config/config.yml'); }\""
], ],
"post-install-cmd": [ "post-install-cmd": [