summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/vim/vim-8.2.4285.ebuild6
-rw-r--r--app-editors/vim/vim-8.2.4328.ebuild6
2 files changed, 8 insertions, 4 deletions
diff --git a/app-editors/vim/vim-8.2.4285.ebuild b/app-editors/vim/vim-8.2.4285.ebuild
index a15f1260d55d..2b7c3b0992cc 100644
--- a/app-editors/vim/vim-8.2.4285.ebuild
+++ b/app-editors/vim/vim-8.2.4285.ebuild
@@ -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
diff --git a/app-editors/vim/vim-8.2.4328.ebuild b/app-editors/vim/vim-8.2.4328.ebuild
index a15f1260d55d..2b7c3b0992cc 100644
--- a/app-editors/vim/vim-8.2.4328.ebuild
+++ b/app-editors/vim/vim-8.2.4328.ebuild
@@ -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