diff --git a/composer.json b/composer.json index 997df8e..6e6b06b 100644 --- a/composer.json +++ b/composer.json @@ -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": [