added git as invoke install dependency for ospf-mdr just in case core was a source tarball
This commit is contained in:
parent
ece2f1c43f
commit
637f7740d6
1 changed files with 2 additions and 2 deletions
4
tasks.py
4
tasks.py
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue