patch 8.1.1159: MS-Windows: with a silent (un)install $VIM/_vimrc is removed

Problem:    MS-Windows: with a silent (un)install $VIM/_vimrc is removed.
Solution:   Don't delete _vimrc in silent mode. (Ken Takata, closes #4242)
This commit is contained in:
Bram Moolenaar
2019-04-12 21:29:33 +02:00
parent 04af19637c
commit a8d22e3a40
2 changed files with 5 additions and 1 deletions

View File

@ -1096,7 +1096,9 @@ Section "un.$(str_unsection_rootdir)" id_unsection_rootdir
Call un.GetParent
Pop $0
Delete $0\_vimrc
${IfNot} ${Silent}
Delete $0\_vimrc
${Endif}
RMDir $0
SectionEnd

View File

@ -771,6 +771,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1159,
/**/
1158,
/**/