git linux: Check user's local bin folder for possibly newer git version. Closes #1425

This commit is contained in:
Hylke Bons 2013-11-12 23:05:43 +00:00
parent 040285dcca
commit 9a9ebd46d1

View file

@ -83,9 +83,10 @@ namespace SparkleLib.Git {
protected string LocateCommand (string name)
{
string [] possible_command_paths = new string [] {
Environment.GetFolderPath (Environment.SpecialFolder.Personal) + "/bin/" + name,
Defines.INSTALL_DIR + "/bin/" + name,
"/usr/bin/" + name,
"/usr/local/bin/" + name,
"/usr/bin/" + name,
"/opt/local/bin/" + name
};