post-install fixes

This commit is contained in:
Dax T. Games 2020-01-05 16:41:02 -05:00
parent 84917159ec
commit 93cf865071

8
vendor/init.bat vendored
View File

@ -316,8 +316,14 @@ call "%user_aliases%"
:: Basically we need to execute this post-install.bat because we are
:: manually extracting the archive rather than executing the 7z sfx
if exist "%GIT_INSTALL_ROOT%\post-install.bat" (
echo Running Git for Windows one time Post Install....
echo Running Git for Windows one time post install - %GIT_INSTALL_ROOT%\post-install.bat"....
pushd "%GIT_INSTALL_ROOT%\"
copy post-install.bat post-install.cmder-bak.bat
if not exist "etc\post-install-cmder.bak" (
md etc\post-install-cmder.bak
)
xcopy etc\post-install\* etc\post-install-cmder.bak
copy post-install.bat post-install.cmder-bak.bat
"%GIT_INSTALL_ROOT%\git-cmd.exe" --no-needs-console --no-cd --command=post-install.bat
popd
)