22141: polish file chooser layout
[arvados.git] / lib / install / deps.go
index a64219b47fe7ef2286c11d7ec26994d0afe857fd..97aefd209c1caa16fecb6bb30b200077dfc9c356 100644 (file)
@@ -250,11 +250,11 @@ func (inst *installCommand) RunCommand(prog string, args []string, stdin io.Read
                                "gnupg")          // docker install recipe
                }
                switch {
-               case osv.Debian && osv.Major >= 10,
-                       osv.Ubuntu && osv.Major >= 22:
+               case osv.Debian && osv.Major < 13,
+                       osv.Ubuntu && osv.Major < 24:
                        pkgs = append(pkgs, "g++", "libcurl4", "libcurl4-openssl-dev")
                case osv.Debian || osv.Ubuntu:
-                       pkgs = append(pkgs, "g++", "libcurl3", "libcurl3-openssl-dev")
+                       pkgs = append(pkgs, "g++", "libcurl4t64", "libcurl4-openssl-dev")
                case osv.RedHat:
                        pkgs = append(pkgs, "gcc", "gcc-c++", "libcurl-devel", "postgresql-devel")
                }