Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 98067 Details for
Bug 147857
nvi, vim and gvim should not block
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
vi.eselect.patch
vi.eselect.patch (text/plain), 1.62 KB, created by
Harald van Dijk (RETIRED)
on 2006-09-25 14:38:52 UTC
(
hide
)
Description:
vi.eselect.patch
Filename:
MIME Type:
Creator:
Harald van Dijk (RETIRED)
Created:
2006-09-25 14:38:52 UTC
Size:
1.62 KB
patch
obsolete
>--- vi.eselect >+++ vi.eselect >@@ -46,15 +46,15 @@ > die "Couldn't set ${target} /usr/bin/vi symlink" > ln -s "${ROOT}/usr/bin/${target}" "${ROOT}/usr/bin/ex" || \ > die "Couldn't set ${target} /usr/bin/ex symlink" >- ln -s "${ROOT}/usr/bin/${target}" "${ROOT}/usr/bin/vi" || \ >- die "Couldn't set ${target} /usr/bin/vi symlink" >+ ln -s "${ROOT}/usr/bin/${target}" "${ROOT}/usr/bin/view" || \ >+ die "Couldn't set ${target} /usr/bin/view symlink" > ln -s "${ROOT}/usr/share/man/man1/${target}.1.gz" \ > "${ROOT}/usr/share/man/man1/vi.1.gz" || \ > die "Couldn't set ${target} /usr/share/man/man1/vi.1.gz symlink" >- ln -s "${ROOT}/usr/share/man/man1/${target}.1.gz" >+ ln -s "${ROOT}/usr/share/man/man1/${target}.1.gz" \ > "${ROOT}/usr/share/man/man1/ex.1.gz" || \ > die "Couldn't set ${target} /usr/share/man/man1/ex.1.gz symlink" >- ln -s "${ROOT}/usr/share/man/man1/${target}.1.gz" >+ ln -s "${ROOT}/usr/share/man/man1/${target}.1.gz" \ > "${ROOT}/usr/share/man/man1/view.1.gz" || \ > die "Couldn't set ${target} /usr/share/man/man1/view.1.gz symlink" > else >@@ -126,9 +126,8 @@ > die -q "Too many parameters" > > elif [[ -L "${ROOT}/usr/bin/vi" ]] ; then >- if ! remove_symlinks ; then >- die -q "Can't remove existing provider" >+ remove_symlinks >- elif ! set_symlinks "${1}" ; then >+ if ! set_symlinks "${1}" ; then > die -q "Can't set new provider" > fi > >@@ -156,7 +155,7 @@ > > if [[ -L "${ROOT}/usr/bin/vi" ]] ; then > [[ ${1} == "--if-unset" ]] && return >- remove_symlinks || die -q "Can't remove existing link" >+ remove_symlinks > fi > if [[ -e "${ROOT}/usr/bin/vi" ]] ; then > die -q "Can't set a new provider"
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 147857
: 98067