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:
parent
f8e766e1e7
commit
5bf5be07ae
@ -64,7 +64,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"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'); }\""
|
||||
],
|
||||
"post-install-cmd": [
|
||||
|
Loading…
x
Reference in New Issue
Block a user