Try 07
This commit is contained in:
parent
767c3856a1
commit
7f1f53bbd9
|
@ -46,7 +46,7 @@ func (p *SystemPackage) Manage() error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Printf("\t Installing %s package\n", p.Name)
|
log.Printf("\tInstalling %s package\n", p.Name)
|
||||||
switch os := p.Distribution; os {
|
switch os := p.Distribution; os {
|
||||||
case "debian", "ubuntu":
|
case "debian", "ubuntu":
|
||||||
_, stdErr, pkErr = utils.RunSystemCommand("apt", "install", "-y", p.Name)
|
_, stdErr, pkErr = utils.RunSystemCommand("apt", "install", "-y", p.Name)
|
||||||
|
|
Loading…
Reference in New Issue