comparison install.cmd @ 292:6938fb0146f5

Add stuff to `gitconfig`, use better installation for it.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 20 Mar 2015 15:15:20 -0700
parents 65a5097587d4
children 9056a39ef016
comparison
equal deleted inserted replaced
291:aac9b5b1f921 292:6938fb0146f5
37 :: Git Files 37 :: Git Files
38 if exist "%userprofile%\.gitconfig" ( 38 if exist "%userprofile%\.gitconfig" (
39 set /P confirm=Will delete existing "%userprofile%\.gitconfig". OK with that? Press CTRL-C to abort. 39 set /P confirm=Will delete existing "%userprofile%\.gitconfig". OK with that? Press CTRL-C to abort.
40 del /Q "%userprofile%\.gitconfig" 40 del /Q "%userprofile%\.gitconfig"
41 ) 41 )
42 copy "%CWD%git\gitconfig" "%userprofile%\.gitconfig" 42 echo [include] > "%userprofile%\.gitconfig"
43 echo path = %CWD:\=/%git/gitconfig >> "%userprofile%\.gitconfig"
43 44
44 :: Web Browser 45 :: Web Browser
45 if exist "%userprofile%\_pentadactylrc" ( 46 if exist "%userprofile%\_pentadactylrc" (
46 set /P confirm=Will delete existing "%userprofile%\_pentadactylrc". OK with that? Press CTRL-C to abort. 47 set /P confirm=Will delete existing "%userprofile%\_pentadactylrc". OK with that? Press CTRL-C to abort.
47 del /Q "%userprofile%\_pentadactylrc" 48 del /Q "%userprofile%\_pentadactylrc"