18700: Fix debian:10 install.
authorTom Clegg <tom@curii.com>
Tue, 12 Apr 2022 15:28:11 +0000 (11:28 -0400)
committerTom Clegg <tom@curii.com>
Tue, 12 Apr 2022 15:28:11 +0000 (11:28 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

lib/install/deps.go

index 178d447c3fe957c15c4beff108fac9bca4239847..cec24bcec17294ff63e286d5917f5052f48a9c0e 100644 (file)
@@ -201,8 +201,10 @@ func (inst *installCommand) RunCommand(prog string, args []string, stdin io.Read
                        pkgs = append(pkgs, "squashfs-tools") // for singularity
                }
                switch {
-               case osv.Debian && osv.Major >= 10:
+               case osv.Debian && osv.Major >= 11:
                        pkgs = append(pkgs, "libcurl4", "perl-modules-5.32")
+               case osv.Debian && osv.Major >= 10:
+                       pkgs = append(pkgs, "libcurl4", "perl-modules")
                default:
                        pkgs = append(pkgs, "libcurl3", "perl-modules")
                }