Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 454580 Details for
Bug 601060
app-editors/nano: support /bin -> /usr/bin symlink with merged /usr
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pkg_preinst: drop nano symlink for the /bin -> /usr/bin symlink
nano-bin-symlink.diff (text/plain), 1.07 KB, created by
Michael Haubenwallner (RETIRED)
on 2016-11-28 10:03:58 UTC
(
hide
)
Description:
pkg_preinst: drop nano symlink for the /bin -> /usr/bin symlink
Filename:
MIME Type:
Creator:
Michael Haubenwallner (RETIRED)
Created:
2016-11-28 10:03:58 UTC
Size:
1.07 KB
patch
obsolete
>commit a6f2fb4c343b3897ac2f9227168a38cf8c1f923a >Author: Michael Haubenwallner <haubi@gentoo.org> >Date: Mon Nov 28 10:53:15 2016 +0100 > > app-editors/nano: support the /bin -> /usr/bin symlink > > Package-Manager: portage-2.2.28 > >diff --git a/app-editors/nano/nano-2.7.1.ebuild b/app-editors/nano/nano-2.7.1.ebuild >index c75dad9..488d0a1 100644 >--- a/app-editors/nano/nano-2.7.1.ebuild >+++ b/app-editors/nano/nano-2.7.1.ebuild >@@ -82,3 +82,10 @@ src_install() { > dodir /usr/bin > dosym /bin/nano /usr/bin/nano > } >+ >+pkg_preinst() { >+ if [[ ${EROOT}bin/. -ef ${EROOT}usr/bin/. ]]; then >+ # found the /bin -> /usr/bin symlink >+ rm -f "${ED}"usr/bin/nano >+ fi >+} >diff --git a/app-editors/nano/nano-9999.ebuild b/app-editors/nano/nano-9999.ebuild >index c75dad9..488d0a1 100644 >--- a/app-editors/nano/nano-9999.ebuild >+++ b/app-editors/nano/nano-9999.ebuild >@@ -82,3 +82,10 @@ src_install() { > dodir /usr/bin > dosym /bin/nano /usr/bin/nano > } >+ >+pkg_preinst() { >+ if [[ ${EROOT}bin/. -ef ${EROOT}usr/bin/. ]]; then >+ # found the /bin -> /usr/bin symlink >+ rm -f "${ED}"usr/bin/nano >+ fi >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 601060
:
454580
|
454890
|
476240