summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-24 05:16:28 -0600
committerJeff Carr <[email protected]>2024-12-24 05:16:28 -0600
commit5802e0f214c3b8c97bbfbb658258b011590a6e5b (patch)
treec70185a3e2ef2f531ac54d8badac98c2e2059df7 /main.go
parentbb54d3ed62d40073f27f6f8a46f71cce35bad170 (diff)
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.go b/main.go
index 72a5b9b..4b1055e 100644
--- a/main.go
+++ b/main.go
@@ -41,7 +41,7 @@ func main() {
okExit("")
}
- if argv.Update {
+ if argv.Upgrade {
if argv.DryRun {
log.Info("--dry-run", []string{"apt", "update"})
} else {
@@ -61,7 +61,7 @@ func main() {
if argv.DryRun {
log.Info("--dry-run", []string{"apt", "install", p.Name})
} else {
- shell.Run([]string{"apt", "install", p.Name})
+ shell.RunRealtime([]string{"apt", "install", p.Name})
}
}
}