Skip to content

Commit

Permalink
nsis: Do not delete $VIM/_vimrc on silent uninstall
Browse files Browse the repository at this point in the history
There is a request that not to delete `$VIM/_vimrc` when reinstalling (upgrading) Vim: vim/vim-win32-installer#115

This keeps `$VIM/_vimrc` on silent uninstall mode.
  • Loading branch information
k-takata committed Apr 12, 2019
1 parent 3fbd2d7 commit a8809c9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nsis/gvim.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a8809c9

Please sign in to comment.