Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187449 - vim.eclass is clobbering user eselect vi choice (needs --if-unset)
Summary: vim.eclass is clobbering user eselect vi choice (needs --if-unset)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
: 191399 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-02 00:48 UTC by Brian Carper
Modified: 2007-09-05 21:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix eselect usage in vim.eclass (vim.eclass.patch,337 bytes, patch)
2007-08-02 00:53 UTC, Brian Carper
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Carper 2007-08-02 00:48:58 UTC
An ebuild that uses vim.eclass (e.g. vim-7.0.235.ebuild) clobbers a user's eselected choice of vi clone.  If you have two vi clones installed (say vim and nvi) every time you update one or the other, your eselected vi will change.

If vim.eclass used `eselect vi update --if-unset` instead of `eselect vi update` this wouldn't happen.

Reproducible: Always

Steps to Reproduce:
1. emerge vim
2. emerge nvi
3. eselect vi set nvi
4. emerge vim

Actual Results:  
/usr/bin/vi points to /usr/bin/vim

Expected Results:  
/usr/bin/vi should point to /usr/bin/nvi
Comment 1 Brian Carper 2007-08-02 00:53:10 UTC
Created attachment 126668 [details, diff]
Fix eselect usage in vim.eclass
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-05 19:05:28 UTC
*** Bug 191399 has been marked as a duplicate of this bug. ***
Comment 3 Ali Polatel (RETIRED) gentoo-dev 2007-09-05 21:24:42 UTC
Fixed, thanks for reporting ;)