Skip to content

Commit c3cc321

Browse files
mikranwebflo
authored andcommitted
Do not copy default.services.yml to services.yml by default. (#265)
1 parent ec0a8ce commit c3cc321

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

scripts/composer/ScriptHandler.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,6 @@ public static function createRequiredFiles(Event $event) {
5151
$event->getIO()->write("Create a sites/default/settings.php file with chmod 0666");
5252
}
5353

54-
// Prepare the services file for installation
55-
if (!$fs->exists($drupalRoot . '/sites/default/services.yml') and $fs->exists($drupalRoot . '/sites/default/default.services.yml')) {
56-
$fs->copy($drupalRoot . '/sites/default/default.services.yml', $drupalRoot . '/sites/default/services.yml');
57-
$fs->chmod($drupalRoot . '/sites/default/services.yml', 0666);
58-
$event->getIO()->write("Create a sites/default/services.yml file with chmod 0666");
59-
}
60-
6154
// Create the files directory with chmod 0777
6255
if (!$fs->exists($drupalRoot . '/sites/default/files')) {
6356
$oldmask = umask(0);

0 commit comments

Comments
 (0)