commit:     9318243660ec9c508d29b99ba666513462b063b2
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 14 17:17:49 2022 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Tue Jun 14 17:22:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93182436

Revert "app-editors/nano: Don't uncomment all include lines in nanorc"

This reverts commit d52b5ff9bca3e3752cba40050ec0dffe7f2abc1e.
It breaks startup of nano:

  Error in /etc/nanorc on line 39: Unknown option "brackets"
  Error in /etc/nanorc on line 83: Unknown option "magic"
  Error in /etc/nanorc on line 128: Unknown option "punct"
  Error in /etc/nanorc on line 135: Unknown option "quotestr"
  Error in /etc/nanorc on line 190: Two single-column characters required

Bug: https://bugs.gentoo.org/851726
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-editors/nano/{nano-6.2-r1.ebuild => nano-6.2.ebuild} | 2 +-
 app-editors/nano/{nano-6.3-r1.ebuild => nano-6.3.ebuild} | 2 +-
 app-editors/nano/nano-9999.ebuild                        | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-editors/nano/nano-6.2-r1.ebuild 
b/app-editors/nano/nano-6.2.ebuild
similarity index 98%
rename from app-editors/nano/nano-6.2-r1.ebuild
rename to app-editors/nano/nano-6.2.ebuild
index bbea2f629b94..c76f1abb21ba 100644
--- a/app-editors/nano/nano-6.2-r1.ebuild
+++ b/app-editors/nano/nano-6.2.ebuild
@@ -76,7 +76,7 @@ src_install() {
        if ! use minimal ; then
                # Enable colorization by default.
                sed -i \
-                       -e '0,/^# include /s:# *::' \
+                       -e '/^# include /s:# *::' \
                        "${ED}"/etc/nanorc || die
 
                # Since nano-5.0 these are no longer being "enabled" by default

diff --git a/app-editors/nano/nano-6.3-r1.ebuild 
b/app-editors/nano/nano-6.3.ebuild
similarity index 98%
rename from app-editors/nano/nano-6.3-r1.ebuild
rename to app-editors/nano/nano-6.3.ebuild
index 52d1f38f69d5..9bd57c68b191 100644
--- a/app-editors/nano/nano-6.3-r1.ebuild
+++ b/app-editors/nano/nano-6.3.ebuild
@@ -76,7 +76,7 @@ src_install() {
        if ! use minimal ; then
                # Enable colorization by default.
                sed -i \
-                       -e '0,/^# include /s:# *::' \
+                       -e '/^# include /s:# *::' \
                        "${ED}"/etc/nanorc || die
 
                # Since nano-5.0 these are no longer being "enabled" by default

diff --git a/app-editors/nano/nano-9999.ebuild 
b/app-editors/nano/nano-9999.ebuild
index cd424d2c2341..25ad3e614940 100644
--- a/app-editors/nano/nano-9999.ebuild
+++ b/app-editors/nano/nano-9999.ebuild
@@ -76,7 +76,7 @@ src_install() {
        if ! use minimal ; then
                # Enable colorization by default.
                sed -i \
-                       -e '0,/^# include /s:# *::' \
+                       -e '/^# include /s:# *::' \
                        "${ED}"/etc/nanorc || die
 
                # Since nano-5.0 these are no longer being "enabled" by default

Reply via email to