From 611025c9464999f20eca21c950d285df60085275 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 23 Mar 2025 18:47:39 -0500 Subject: [PATCH] trying to get 'apt install' to work --- send.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/send.go b/send.go index 2eaf1d5..01125c0 100644 --- a/send.go +++ b/send.go @@ -76,11 +76,13 @@ func sendMachine(s string) error { } os.Exit(0) } else if strings.HasPrefix(line, "apt install") { - log.Info("machine install", line) + log.Info("Got to apt install", line) parts := strings.Fields(line) if len(parts) > 1 { cmd := []string{"apt", "update"} cmd = append(cmd, parts[1:]...) + log.Info("Got to parts =", parts) + log.Info("Got to cmd =", cmd) shell.RunRealtime(cmd) } else { log.Info("nothing to install for line:", line)