1 |
Signed-off-by: Anna Vyalkova <cyber+gentoo@×××××.in> |
2 |
--- |
3 |
eclass/vim-plugin.eclass | 11 +++++++++++ |
4 |
1 file changed, 11 insertions(+) |
5 |
|
6 |
diff --git a/eclass/vim-plugin.eclass b/eclass/vim-plugin.eclass |
7 |
index 243f9107be..92db412adc 100644 |
8 |
--- a/eclass/vim-plugin.eclass |
9 |
+++ b/eclass/vim-plugin.eclass |
10 |
@@ -55,6 +55,8 @@ if ${_DEFINE_VIM_PLUGIN_SRC_PREPARE}; then |
11 |
# other packages. |
12 |
# Note that this function is only defined and exported in EAPIs >= 8. |
13 |
vim-plugin_src_prepare() { |
14 |
+ debug-print-function ${FUNCNAME} "${@}" |
15 |
+ |
16 |
default_src_prepare |
17 |
|
18 |
# return if there's nothing to do |
19 |
@@ -95,6 +97,7 @@ _VIM_PLUGIN_ALLOWED_DIRS=( |
20 |
# } |
21 |
# @CODE |
22 |
vim-plugin_src_install() { |
23 |
+ debug-print-function ${FUNCNAME} "${@}" |
24 |
|
25 |
# Install non-vim-help-docs |
26 |
einstalldocs |
27 |
@@ -125,6 +128,8 @@ vim-plugin_src_install() { |
28 |
# * update_vim_afterscripts |
29 |
# * display_vim_plugin_help |
30 |
vim-plugin_pkg_postinst() { |
31 |
+ debug-print-function ${FUNCNAME} "${@}" |
32 |
+ |
33 |
update_vim_helptags # from vim-doc |
34 |
update_vim_afterscripts # see below |
35 |
display_vim_plugin_help # see below |
36 |
@@ -136,6 +141,8 @@ vim-plugin_pkg_postinst() { |
37 |
# This function calls the update_vim_helptags and update_vim_afterscripts |
38 |
# functions and eventually removes a bunch of empty directories. |
39 |
vim-plugin_pkg_postrm() { |
40 |
+ debug-print-function ${FUNCNAME} "${@}" |
41 |
+ |
42 |
update_vim_helptags # from vim-doc |
43 |
update_vim_afterscripts # see below |
44 |
|
45 |
@@ -151,6 +158,8 @@ vim-plugin_pkg_postrm() { |
46 |
# Creates scripts in /usr/share/vim/vimfiles/after/* |
47 |
# comprised of the snippets in /usr/share/vim/vimfiles/after/*/*.d |
48 |
update_vim_afterscripts() { |
49 |
+ debug-print-function ${FUNCNAME} "${@}" |
50 |
+ |
51 |
local d f afterdir="${EROOT}"/usr/share/vim/vimfiles/after |
52 |
|
53 |
# Nothing to do if the dir isn't there |
54 |
@@ -188,6 +197,8 @@ update_vim_afterscripts() { |
55 |
# extra message regarding enabling filetype plugins is displayed if |
56 |
# VIM_PLUGIN_MESSAGES includes the word "filetype". |
57 |
display_vim_plugin_help() { |
58 |
+ debug-print-function ${FUNCNAME} "${@}" |
59 |
+ |
60 |
local h |
61 |
|
62 |
if [[ -z ${REPLACING_VERSIONS} ]]; then |
63 |
-- |
64 |
2.35.1 |