From 637f7740d63c051203518a7de4924cf085144065 Mon Sep 17 00:00:00 2001
From: Blake Harnden <32446120+bharnden@users.noreply.github.com>
Date: Fri, 10 Jul 2020 13:00:38 -0700
Subject: [PATCH] added git as invoke install dependency for ospf-mdr just in
 case core was a source tarball

---
 tasks.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tasks.py b/tasks.py
index e24fa415..f5ed9c2a 100644
--- a/tasks.py
+++ b/tasks.py
@@ -125,9 +125,9 @@ def install_ospf_mdr(c: Context, os_info: OsInfo, hide: bool) -> None:
         return
     print("installing ospf mdr dependencies...")
     if os_info.like == OsLike.DEBIAN:
-        c.run("sudo apt install -y libtool gawk libreadline-dev", hide=hide)
+        c.run("sudo apt install -y libtool gawk libreadline-dev git", hide=hide)
     elif os_info.like == OsLike.REDHAT:
-        c.run("sudo yum install -y libtool gawk readline-devel", hide=hide)
+        c.run("sudo yum install -y libtool gawk readline-devel git", hide=hide)
     print("cloning ospf mdr...")
     clone_dir = "/tmp/ospf-mdr"
     c.run(