From d52b5ff9bca3e3752cba40050ec0dffe7f2abc1e Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Tue, 14 Jun 2022 17:47:41 +0200 Subject: [PATCH] app-editors/nano: Don't uncomment all include lines in nanorc Thanks-to: Jonathan Plews Closes: https://bugs.gentoo.org/851726 Signed-off-by: Lars Wendler --- app-editors/nano/{nano-6.2.ebuild => nano-6.2-r1.ebuild} | 2 +- app-editors/nano/{nano-6.3.ebuild => nano-6.3-r1.ebuild} | 2 +- app-editors/nano/nano-9999.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename app-editors/nano/{nano-6.2.ebuild => nano-6.2-r1.ebuild} (98%) rename app-editors/nano/{nano-6.3.ebuild => nano-6.3-r1.ebuild} (98%) diff --git a/app-editors/nano/nano-6.2.ebuild b/app-editors/nano/nano-6.2-r1.ebuild similarity index 98% rename from app-editors/nano/nano-6.2.ebuild rename to app-editors/nano/nano-6.2-r1.ebuild index c76f1abb21ba1..bbea2f629b94d 100644 --- a/app-editors/nano/nano-6.2.ebuild +++ b/app-editors/nano/nano-6.2-r1.ebuild @@ -76,7 +76,7 @@ src_install() { if ! use minimal ; then # Enable colorization by default. sed -i \ - -e '/^# include /s:# *::' \ + -e '0,/^# 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.ebuild b/app-editors/nano/nano-6.3-r1.ebuild similarity index 98% rename from app-editors/nano/nano-6.3.ebuild rename to app-editors/nano/nano-6.3-r1.ebuild index 9bd57c68b191d..52d1f38f69d56 100644 --- a/app-editors/nano/nano-6.3.ebuild +++ b/app-editors/nano/nano-6.3-r1.ebuild @@ -76,7 +76,7 @@ src_install() { if ! use minimal ; then # Enable colorization by default. sed -i \ - -e '/^# include /s:# *::' \ + -e '0,/^# 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 25ad3e614940b..cd424d2c23419 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 '/^# include /s:# *::' \ + -e '0,/^# include /s:# *::' \ "${ED}"/etc/nanorc || die # Since nano-5.0 these are no longer being "enabled" by default