Set GIT_INSTALL_ROOT variable on installation

The GIT_INSTALL_ROOT env is required by cmder, otherwise it starts giving "Found old git at C:\Users\<name>\scoop\apps, but not using..."
This commit is contained in:
Art 2017-05-18 18:09:24 +01:00 committed by GitHub
parent 2009d062de
commit 97045616d8

View File

@ -32,6 +32,9 @@ and then restart powershell.",
"url": "https://github.com/git-for-windows/git/releases/latest",
"re": "v(?<version>[\\d\\w.]+)/PortableGit-(?<short>[\\d.]+).*\\.exe"
},
"env_set": {
"GIT_INSTALL_ROOT": "$dir"
},
"autoupdate": {
"architecture": {
"64bit": {