diff options
| author | Jeff Carr <[email protected]> | 2025-02-22 04:46:51 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-22 04:46:51 -0600 |
| commit | 84c772dc41eda87ea45531c63ac95cc3cece4237 (patch) | |
| tree | 1ea81a875954d65d4a650b8018d8362b3ea7b175 | |
| parent | 9139a4a6b43285215b9fae9ce7929e5f99411c04 (diff) | |
attempt to merge devel
| -rw-r--r-- | doAptUpgrade.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doAptUpgrade.go b/doAptUpgrade.go index 37b2ca9..f737e16 100644 --- a/doAptUpgrade.go +++ b/doAptUpgrade.go @@ -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}) } } |
