summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2022-06-14 17:47:41 +0200
committerLars Wendler <polynomial-c@gentoo.org>2022-06-14 17:49:00 +0200
commitd52b5ff9bca3e3752cba40050ec0dffe7f2abc1e (patch)
tree19c372894f67170292c86164d6897ea7db7c2e3c /app-editors/nano
parentapp-editors/nano: Removed old (diff)
downloadgentoo-d52b5ff9bca3e3752cba40050ec0dffe7f2abc1e.tar.gz
gentoo-d52b5ff9bca3e3752cba40050ec0dffe7f2abc1e.tar.bz2
gentoo-d52b5ff9bca3e3752cba40050ec0dffe7f2abc1e.zip
app-editors/nano: Don't uncomment all include lines in nanorc
Thanks-to: Jonathan Plews <pl3w5y@tuta.io> Closes: https://bugs.gentoo.org/851726 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-editors/nano')
-rw-r--r--app-editors/nano/nano-6.2-r1.ebuild (renamed from app-editors/nano/nano-6.2.ebuild)2
-rw-r--r--app-editors/nano/nano-6.3-r1.ebuild (renamed from app-editors/nano/nano-6.3.ebuild)2
-rw-r--r--app-editors/nano/nano-9999.ebuild2
3 files changed, 3 insertions, 3 deletions
diff --git a/app-editors/nano/nano-6.2.ebuild b/app-editors/nano/nano-6.2-r1.ebuild
index c76f1abb21ba..bbea2f629b94 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
index 9bd57c68b191..52d1f38f69d5 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 25ad3e614940..cd424d2c2341 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