diff options
| author | Jeff Carr <[email protected]> | 2025-03-23 18:47:39 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-23 18:47:39 -0500 | 
| commit | 611025c9464999f20eca21c950d285df60085275 (patch) | |
| tree | 68addcf6f33c4ae304e05a7b8122b77750aee0c5 | |
| parent | a02078081e445a806cd0d103f452b5154ac4b967 (diff) | |
trying to get 'apt install' to workv0.0.64
| -rw-r--r-- | send.go | 4 | 
1 files changed, 3 insertions, 1 deletions
@@ -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)  | 
