attempt to merge devel
This commit is contained in:
parent
9139a4a6b4
commit
84c772dc41
|
@ -27,9 +27,11 @@ func doAptUpgrade() {
|
|||
p := loop.Next()
|
||||
// log.Info("apt install", name)
|
||||
if me.forge.Machine.IsInstalled(p.Name) {
|
||||
cmd := []string{"apt", "install", p.Name}
|
||||
if argv.DryRun {
|
||||
log.Info("--dry-run", []string{"apt", "install", p.Name})
|
||||
log.Info("--dry-run", cmd)
|
||||
} else {
|
||||
log.Info("Running:", cmd)
|
||||
shell.RunRealtime([]string{"apt", "install", p.Name})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue