diff options
| author | Dongsu Park <dpark@linux.microsoft.com> | 2022-01-27 17:23:03 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2022-02-18 02:53:29 +0000 |
| commit | 49adc5f0272e40ac608a89d268ee12811fcca384 (patch) | |
| tree | 25572fce7ab725074b5837c97e17558c74b6b6ec /app-editors/vim/vim-9999.ebuild | |
| parent | 66d94c953f04e1bf6abd39d29e506a205d69f29f (diff) | |
| download | gentoo-49adc5f0272e40ac608a89d268ee12811fcca384.tar.gz gentoo-49adc5f0272e40ac608a89d268ee12811fcca384.tar.bz2 gentoo-49adc5f0272e40ac608a89d268ee12811fcca384.zip | |
app-editors/vim: install defaults.vim only if the file is not installed
Install defaults.vim only if the file is not installed already from
vim-core. That's needed for avoiding conflicts between vim and vim-core.
Closes: https://bugs.gentoo.org/830177
Signed-off-by: Dongsu Park <dpark@linux.microsoft.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors/vim/vim-9999.ebuild')
| -rw-r--r-- | app-editors/vim/vim-9999.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app-editors/vim/vim-9999.ebuild b/app-editors/vim/vim-9999.ebuild index 3ce917bf8851..a16ecf652266 100644 --- a/app-editors/vim/vim-9999.ebuild +++ b/app-editors/vim/vim-9999.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 |
