summaryrefslogtreecommitdiff
path: root/doDebian.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-07 19:31:00 -0500
committerJeff Carr <[email protected]>2025-10-07 19:31:00 -0500
commit4be7ade52e35c3f9af51c7e4842f96a2f22971a8 (patch)
tree4ce0683361bafcd9a4a3f1aee94bfb4ab252f463 /doDebian.go
parent48bcafb2e388295567476f35e45b814f71692061 (diff)
switch to me.sh.Exit()v0.1.25
Diffstat (limited to 'doDebian.go')
-rw-r--r--doDebian.go10
1 files changed, 4 insertions, 6 deletions
diff --git a/doDebian.go b/doDebian.go
index 0a6be8d..00a62bb 100644
--- a/doDebian.go
+++ b/doDebian.go
@@ -7,7 +7,7 @@ import (
"os"
"path/filepath"
- "go.wit.com/lib/gui/shell"
+ "go.wit.com/lib/fhelp"
"go.wit.com/lib/protobuf/gitpb"
"go.wit.com/log"
)
@@ -23,7 +23,7 @@ func doBuildDeb() error {
if len(files) > 0 {
cmd := []string{"rm"}
cmd = append(cmd, files...)
- _, err := shell.RunRealtimeError(cmd)
+ _, err := fhelp.RunRealtimeError(cmd)
return err
}
@@ -54,10 +54,8 @@ func doBuildDeb() error {
return stat.Err
}
}
- if totalBuilt > 0 {
- if _, err := shell.RunRealtimeError([]string{"do-aptly"}); err != nil {
- me.sh.BadExit("aptly failed", nil)
- }
+ if _, err := fhelp.RunRealtimeError([]string{"do-aptly"}); err != nil {
+ me.sh.BadExit("aptly failed", nil)
}
return nil
}