Skip to content

Commit

Permalink
app-editors/vim: fix conflicts in 8.2.{4285,4328}
Browse files Browse the repository at this point in the history
We fixed defaults.vim installation conflicts in
49adc5f, but not for 8.2.4285 and
8.2.4328. Fix the issue for the versions.

Bug: https://bugs.gentoo.org/830177
Signed-off-by: Dongsu Park <[email protected]>
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
dongsupark authored and thesamesam committed Feb 18, 2022
1 parent b287b11 commit 90d4791
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions app-editors/vim/vim-8.2.4285.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,10 @@ src_install() {

# Fix an issue of missing defaults.vim when USE=minimal.
if use minimal ; then
insinto ${vimfiles}
doins runtime/defaults.vim
if [[ ! -f "${vimfiles}/defaults.vim" ]]; then
insinto ${vimfiles}
doins runtime/defaults.vim
fi
fi

domenu runtime/vim.desktop
Expand Down
6 changes: 4 additions & 2 deletions app-editors/vim/vim-8.2.4328.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,10 @@ src_install() {

# Fix an issue of missing defaults.vim when USE=minimal.
if use minimal ; then
insinto ${vimfiles}
doins runtime/defaults.vim
if [[ ! -f "${vimfiles}/defaults.vim" ]]; then
insinto ${vimfiles}
doins runtime/defaults.vim
fi
fi

domenu runtime/vim.desktop
Expand Down

0 comments on commit 90d4791

Please sign in to comment.