Update test failing on debian 12 if s3cmd is installed.
[arvados.git] / lib / install / deps.go
index f9795cf8728da376d3013f93d6acdebb83ed4c26..08312d738c15d86871b8626357e6cd6e308a140f 100644 (file)
@@ -235,6 +235,10 @@ func (inst *installCommand) RunCommand(prog string, args []string, stdin io.Read
                        } else {
                                pkgs = append(pkgs, "firefox")
                        }
+                       if osv.Debian && osv.Major >= 11 {
+                               // not available in Debian <11
+                               pkgs = append(pkgs, "s3cmd")
+                       }
                }
                if dev || test {
                        pkgs = append(pkgs,