summaryrefslogtreecommitdiff
path: root/doIncoming.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 10:30:18 -0500
committerJeff Carr <[email protected]>2025-10-26 10:30:18 -0500
commit337add61d45b558fe11765342b7498a86d5834df (patch)
tree5952cdd2d28323352a3cc79ae62aeb5acda183e9 /doIncoming.go
parentd4ac45d164ab08b212382220e31f12c810e77265 (diff)
argv finally doesn't suckv0.0.32
Diffstat (limited to 'doIncoming.go')
-rw-r--r--doIncoming.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/doIncoming.go b/doIncoming.go
index d6dbed4..af8ac21 100644
--- a/doIncoming.go
+++ b/doIncoming.go
@@ -9,6 +9,7 @@ import (
"go.wit.com/lib/config"
"go.wit.com/lib/gui/shell"
+ "go.wit.com/lib/protobuf/argvpb"
"go.wit.com/lib/protobuf/zoopb"
"go.wit.com/log"
)
@@ -60,7 +61,7 @@ func moveOutOfIncoming(fullname string) error {
// log.Printf("%s moved incoming oldname %s newname: %s\n", packageName, path, newfilename)
}
// return "file already exists. use --force to replace", errors.New("duplicate .deb in incoming/")
- me.argv.GoodExit("file already exists. TODO: fix this to use --force to replace")
+ argvpb.GoodExit("file already exists. TODO: fix this to use --force to replace")
}
// file can be moved
os.Rename(fullname, newfilename)