Problem/Motivation

Typo mistake in a core/INSTALL.txt file in Drupal core.
defaults.settings.php should be default.settings.php.

Proposed resolution

Replace defaults.settings.php to default.settings.php.

Remaining tasks

  1. Create patch
  2. Review/RTBC
  3. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

Release notes snippet

Fixed typo in core/INSTALL.txt file

Original report by sandeepscs

Typo mistake in a core/INSTALL.txt file in Drupal core. defaults.settings.php should be default.settings.php.

We can add the following code to resolve this problem.

diff --git a/core/INSTALL.txt b/core/INSTALL.txt
old mode 100644
new mode 100755
index cf8019f..e3e7bb4
--- a/core/INSTALL.txt
+++ b/core/INSTALL.txt
@@ -405,7 +405,7 @@ The new directory name is constructed from the site's URL. The configuration
for www.example.com could be in 'sites/example.com/settings.php' (note that
'www.' should be omitted if users can access your site at http://example.com/).

- $ cp sites/default/defaults.settings.php sites/example.com/settings.php
+ $ cp sites/default/default.settings.php sites/example.com/settings.php

Sites do not have to have a different domain. You can also use subdomains and
subdirectories for Drupal sites. For example, example.com, sub.example.com, and
s

Comments

sandeepscs created an issue. See original summary.

sandeepscs’s picture

StatusFileSize
new718 bytes

Please find the attached file for the patch of same.

idebr’s picture

Status: Active » Needs review
i-trokhanenko’s picture

Assigned: sandeepscs » Unassigned
Status: Needs review » Reviewed & tested by the community

Reviewed patch #2. Pach successfully applied locally. Make sense to fix a typo. +1 RTBC.
Thanks!

i-trokhanenko’s picture

Issue summary: View changes

Used issue summary template.

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed 8a76eeecf6 to 8.8.x and 057ef82d26 to 8.7.x. Thanks!

diff --git a/core/INSTALL.txt b/core/INSTALL.txt
old mode 100644
new mode 100755

The mode shouldn't be changed by the patch. Fixed on commit.

  • alexpott committed 8a76eee on 8.8.x
    Issue #3040562 by sandeepscs: Fix typo in core/INSTALL.txt file
    

  • alexpott committed 057ef82 on 8.7.x
    Issue #3040562 by sandeepscs: Fix typo in core/INSTALL.txt file
    
    (cherry...
alexpott’s picture

Version: 8.6.x-dev » 8.7.x-dev

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.