added git as invoke install dependency for ospf-mdr just in case core was a source tarball

This commit is contained in:
Blake Harnden 2020-07-10 13:00:38 -07:00
parent ece2f1c43f
commit 637f7740d6

View file

@ -125,9 +125,9 @@ def install_ospf_mdr(c: Context, os_info: OsInfo, hide: bool) -> None:
return return
print("installing ospf mdr dependencies...") print("installing ospf mdr dependencies...")
if os_info.like == OsLike.DEBIAN: 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: 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...") print("cloning ospf mdr...")
clone_dir = "/tmp/ospf-mdr" clone_dir = "/tmp/ospf-mdr"
c.run( c.run(