20735: Fix firefox package name on debian 11.
[arvados.git] / lib / install / deps.go
index 5b5b0a0760ed64199779c2745cc4e1a73cc45bbd..cbf050d7dce5e2e0777bf19d4e648358f9cc97ea 100644 (file)
@@ -193,6 +193,8 @@ func (inst *installCommand) RunCommand(prog string, args []string, stdin io.Read
                if test {
                        if osv.Debian && osv.Major <= 10 {
                                pkgs = append(pkgs, "iceweasel")
+                       } else if osv.Debian && osv.Major >= 11 {
+                               pkgs = append(pkgs, "firefox-esr")
                        } else {
                                pkgs = append(pkgs, "firefox")
                        }