summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-08-12 10:19:12 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-08-12 10:19:20 +0200
commita6a587ba8d374cc20de8c692d393e807154e4195 (patch)
tree1093d5fce5fa89004dc17f0fbfb9c6252c55d102
parentapp-editors/nano: Revbump to re-enable some syntax files again (diff)
downloadgentoo-a6a587ba8d374cc20de8c692d393e807154e4195.tar.gz
gentoo-a6a587ba8d374cc20de8c692d393e807154e4195.tar.bz2
gentoo-a6a587ba8d374cc20de8c692d393e807154e4195.zip
app-editors/nano: Synced live ebuild
Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-rw-r--r--app-editors/nano/nano-9999.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/app-editors/nano/nano-9999.ebuild b/app-editors/nano/nano-9999.ebuild
index e49803f3fe54..1a12756b35a5 100644
--- a/app-editors/nano/nano-9999.ebuild
+++ b/app-editors/nano/nano-9999.ebuild
@@ -79,5 +79,11 @@ src_install() {
"${ED}"/etc/nanorc || die
fi
+ # Since nano-5.0 these are no longer being "enabled" by default
+ # (bug #736848)
+ local rcdir="/usr/share/nano"
+ mv "${ED}"${rcdir}/extra/* "${ED}"/${rcdir}/ || die
+ rmdir "${ED}"${rcdir}/extra || die
+
use split-usr && dosym ../../bin/nano /usr/bin/nano
}