Mercurial > vim
comparison nsis/gvim.nsi @ 16308:6400235ca4ad v8.1.1159
patch 8.1.1159: MS-Windows: with a silent (un)install $VIM/_vimrc is removed
commit https://github.com/vim/vim/commit/a8d22e3a40483cd1fa9c6e45dcf383f49f16833a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Apr 12 21:29:33 2019 +0200
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 https://github.com/vim/vim/issues/4242)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 12 Apr 2019 21:30:05 +0200 |
parents | 9eb8c0d5c13e |
children | 7ae2396cef62 |
comparison
equal
deleted
inserted
replaced
16307:8b595d158a1f | 16308:6400235ca4ad |
---|---|
1094 # get the parent dir of the installation | 1094 # get the parent dir of the installation |
1095 Push $INSTDIR | 1095 Push $INSTDIR |
1096 Call un.GetParent | 1096 Call un.GetParent |
1097 Pop $0 | 1097 Pop $0 |
1098 | 1098 |
1099 Delete $0\_vimrc | 1099 ${IfNot} ${Silent} |
1100 Delete $0\_vimrc | |
1101 ${Endif} | |
1100 RMDir $0 | 1102 RMDir $0 |
1101 SectionEnd | 1103 SectionEnd |
1102 | 1104 |
1103 ########################################################## | 1105 ########################################################## |
1104 # Description for Uninstaller Sections | 1106 # Description for Uninstaller Sections |