From ef8ffd7485471bab4903d92841fbf0dfcd7e846a Mon Sep 17 00:00:00 2001 From: Christian Brabandt Date: Wed, 17 Sep 2025 20:20:45 +0000 Subject: [PATCH] patch 9.1.1768: Makefile does not uninstall global plugins Problem: Makefile does not uninstall global plugins (after v9.1.1757) Solution: Uninstall global plugins before installing them, so that old files are not carried around and loaded when no longer used. Signed-off-by: Christian Brabandt --- src/Makefile | 3 ++- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index d1b08be257..333a9121cd 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2474,7 +2474,8 @@ installrtbase: $(HELPSOURCE)/vim.1 $(DEST_VIM) $(VIMTARGET) $(DEST_RT) \ # install the standard import files cd $(IMPORTSOURCE)/dist; $(INSTALL_DATA) *.vim $(DEST_IMPORT)/dist cd $(DEST_IMPORT)/dist; chmod $(HELPMOD) *.vim -# install the standard plugin files +# install the standard plugin files, but first remove existing ones + -rm -f $(DEST_PLUG)/*.vim cd $(PLUGSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_PLUG) cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt # install the ftplugin files diff --git a/src/version.c b/src/version.c index ea120ceaf0..b7531bd14a 100644 --- a/src/version.c +++ b/src/version.c @@ -724,6 +724,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1768, /**/ 1767, /**/