summaryrefslogtreecommitdiff
path: root/doUpgrade.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 08:29:43 -0500
committerJeff Carr <[email protected]>2025-10-26 08:29:43 -0500
commit4684799ca211b13b821a51cb0b3c87e43bd95aa8 (patch)
treefc23a62eed2b8d091e135c69f7e90bd6df24ff31 /doUpgrade.go
parent213d7bd6749471c583534e76f9c29c5b0183a4cb (diff)
new argv design
Diffstat (limited to 'doUpgrade.go')
-rw-r--r--doUpgrade.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/doUpgrade.go b/doUpgrade.go
index b04ce61..6dab951 100644
--- a/doUpgrade.go
+++ b/doUpgrade.go
@@ -7,6 +7,7 @@ import (
"fmt"
"go.wit.com/lib/debian"
+ "go.wit.com/lib/protobuf/argvpb"
"go.wit.com/lib/protobuf/zoopb"
"go.wit.com/log"
)
@@ -76,10 +77,10 @@ func doUpgrade() error {
continue
}
if _, err := debian.AptInstall(p.Package); err != nil {
- me.argv.BadExit("damn it", err)
+ argvpb.BadExit("damn it", err)
}
}
}
- me.argv.GoodExit("installed")
+ argvpb.GoodExit("installed")
return nil
}