app-editors/nano: Fixed prefix installations.

Closes: https://bugs.gentoo.org/654534
Package-Manager: Portage-2.3.33, Repoman-2.3.9
This commit is contained in:
Lars Wendler
2018-05-02 10:34:03 +02:00
parent 00988aefa5
commit 9e1ec36342
2 changed files with 4 additions and 2 deletions

View File

@@ -64,7 +64,8 @@ src_configure() {
src_install() {
default
rm -rf "${ED%/}"/trash
# don't use "${ED}" here or things break (#654534)
rm -r "${D%/}"/trash || die
dodoc doc/sample.nanorc
docinto html

View File

@@ -64,7 +64,8 @@ src_configure() {
src_install() {
default
rm -rf "${ED%/}"/trash
# don't use "${ED}" here or things break (#654534)
rm -r "${D%/}"/trash || die
dodoc doc/sample.nanorc
docinto html