Permalink
Browse files

WinGit: overwrite existing files, if any

There is no excuse: the user specified where git should be installed
to, and if there are files already, we should overwrite them, lest
the user use an outdated version, in spite of having installed a new
one.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
  • Loading branch information...
1 parent 38fac59 commit 7dfd4931831f828a15f78091bb095a1c5d95a083 @dscho dscho committed Sep 17, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 share/WinGit/release.sh
View
@@ -62,7 +62,7 @@ exit
echo 'GUIFlags="8+32+64+256+4096"' &&
echo 'GUIMode="1"' &&
echo 'InstallPath="%PROGRAMFILES%\\Git"' &&
- echo 'OverwriteMode="2"' &&
+ echo 'OverwriteMode="0"' &&
echo 'RunProgram="\"%%T\\bin\\wish.exe\" \"%%T\install.tcl\" \"%%T\""' &&
echo ';!@InstallEnd@!7z' &&
cat $TARGET7) > "$TARGET"

0 comments on commit 7dfd493

Please sign in to comment.