mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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:
@@ -1096,7 +1096,9 @@ Section "un.$(str_unsection_rootdir)" id_unsection_rootdir
|
|||||||
Call un.GetParent
|
Call un.GetParent
|
||||||
Pop $0
|
Pop $0
|
||||||
|
|
||||||
|
${IfNot} ${Silent}
|
||||||
Delete $0\_vimrc
|
Delete $0\_vimrc
|
||||||
|
${Endif}
|
||||||
RMDir $0
|
RMDir $0
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
@@ -771,6 +771,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1159,
|
||||||
/**/
|
/**/
|
||||||
1158,
|
1158,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user