From 6805a449c081666cb492ae5506ada8c5079dc805 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Fri, 23 Feb 2018 17:04:15 -0500 Subject: [PATCH] [provisioning] Use git ppa on linux --- recipes/git | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/recipes/git b/recipes/git index 6796ef1..6213a60 100644 --- a/recipes/git +++ b/recipes/git @@ -1,5 +1,14 @@ #!/bin/bash set +e -_recipe brew -_brew git +case $_PLATFORM in + darwin) + _recipe brew + _brew git + ;; + *) + _recipe _apt + _ppa git-core/ppa + _apt git + ;; +esac