remove duplicated progress usage when installing ospf mdr
This commit is contained in:
parent
1cadf8362f
commit
119a3640e4
1 changed files with 16 additions and 18 deletions
2
tasks.py
2
tasks.py
|
@ -173,8 +173,6 @@ def install_ospf_mdr(c: Context, os_info: OsInfo, hide: bool) -> None:
|
|||
if c.run("which zebra", warn=True, hide=hide):
|
||||
print("\nquagga already installed, skipping ospf mdr")
|
||||
return
|
||||
p = Progress(not hide)
|
||||
with p.start("installing ospf mdr dependencies"):
|
||||
if os_info.like == OsLike.DEBIAN:
|
||||
c.run("sudo apt install -y libtool gawk libreadline-dev git", hide=hide)
|
||||
elif os_info.like == OsLike.REDHAT:
|
||||
|
|
Loading…
Reference in a new issue