mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-08 02:41:55 +01:00
app-editors/vim: do not create symlink vimdiff for minimal
A symlink `vimdiff` should not be created, if the USE flag `minimal` is enabled. Otherwise running `vimdiff` results in failure like that: ``` $ vimdiff aaa bbb This Vim was not compiled with the diff feature. ```
This commit is contained in:
parent
58ece612c3
commit
728b8e7495
@ -276,7 +276,10 @@ src_install() {
|
||||
# Note: Do not install symlinks for 'vi', 'ex', or 'view', as these are
|
||||
# managed by eselect-vi
|
||||
dobin src/vim
|
||||
dosym vim /usr/bin/vimdiff
|
||||
# Flatcar: disable vimdiff symlink if minimal
|
||||
if ! use minimal ; then
|
||||
dosym vim /usr/bin/vimdiff
|
||||
fi
|
||||
dosym vim /usr/bin/rvim
|
||||
dosym vim /usr/bin/rview
|
||||
if use vim-pager ; then
|
||||
Loading…
x
Reference in New Issue
Block a user