From 6e30c81f54f145b5b9cd1e428eaa44f8bdc5cd81 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 3 Oct 2025 05:07:00 -0500 Subject: try to force install --- doDebian.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doDebian.go') diff --git a/doDebian.go b/doDebian.go index e14e555..63009b3 100644 --- a/doDebian.go +++ b/doDebian.go @@ -4,11 +4,26 @@ package main import ( + "path/filepath" + "go.wit.com/lib/protobuf/gitpb" "go.wit.com/log" ) func doDebian() { + // clean out old deb files + globPattern := filepath.Join(me.homedir, "incoming", "*.deb") + files, err := filepath.Glob(globPattern) + if err != nil { + log.Info("Error during globbing:", err) + badExit(err) + } + if len(files) > 0 { + cmd := []string{"rm"} + cmd = append(cmd, files...) + exitOnErrorRealtime(cmd) + } + initForge() found := gitpb.NewRepos() -- cgit v1.2.3