app-vim/youcompleteme: fix installation problem.

Error:
rm: cannot remove 'third_party/ycmd/libclang.so': No such file or directory
 * ERROR: app-vim/youcompleteme-99999999::gentoo failed (install phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 124:  Called src_install
 *   environment, line 4440:  Called die
 * The specific snippet of code:
 *       rm third_party/ycmd/libclang.so || die;

Actually:
$ ls third_party/ycmd
...
libclang.so.5
libclang.so.5.0

Closes: https://github.com/gentoo/gentoo/pull/8028
This commit is contained in:
arbitrary-dev
2018-04-16 22:15:20 +03:00
committed by Patrice Clement
parent f886de925e
commit 3f71fa44bf

View File

@@ -102,7 +102,7 @@ src_install() {
rm -r third_party/ycmd/{*.md,*.sh} || die
find python -name *test* -exec rm -rf {} + || die
egit_clean
rm third_party/ycmd/libclang.so || die
rm third_party/ycmd/libclang.so* || die
vim-plugin_src_install