18700: Update perl-modules package name for debian 11.
authorTom Clegg <tom@curii.com>
Tue, 29 Mar 2022 13:51:19 +0000 (09:51 -0400)
committerTom Clegg <tom@curii.com>
Tue, 29 Mar 2022 13:51:19 +0000 (09:51 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>

lib/install/deps.go

index 2aa77f0a284345026ccedcae6a7c154e879b7aaa..b38db9919253a92e193bc48e1090326c77b29362 100644 (file)
@@ -172,7 +172,6 @@ func (inst *installCommand) RunCommand(prog string, args []string, stdin io.Read
                        "make",
                        "net-tools",
                        "pandoc",
-                       "perl-modules",
                        "pkg-config",
                        "postgresql",
                        "postgresql-contrib",
@@ -203,9 +202,9 @@ func (inst *installCommand) RunCommand(prog string, args []string, stdin io.Read
                }
                switch {
                case osv.Debian && osv.Major >= 10:
-                       pkgs = append(pkgs, "libcurl4")
+                       pkgs = append(pkgs, "libcurl4", "perl-modules-5.32")
                default:
-                       pkgs = append(pkgs, "libcurl3")
+                       pkgs = append(pkgs, "libcurl3", "perl-modules")
                }
                cmd := exec.CommandContext(ctx, "apt-get")
                if inst.EatMyData {