diff --git a/Project.toml b/Project.toml index b5b880bfb..33e5ab5dc 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "GAP" uuid = "c863536a-3901-11e9-33e7-d5cd0df7b904" authors = ["Thomas Breuer ", "Sebastian Gutsche ", "Max Horn "] -version = "0.11.2" +version = "0.11.3" [deps] Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33" diff --git a/src/packages.jl b/src/packages.jl index 2eb70bec7..cf4c0d2b0 100644 --- a/src/packages.jl +++ b/src/packages.jl @@ -267,18 +267,6 @@ function install(spec::String, version::String = ""; # then we can still try to install the required version.) version == string(getproperty(info, spec)[2]) && return true end - info = Globals.GAPInfo.PackagesInfo - if hasproperty(info, spec) - # The package is not yet loaded but may be available. - # If an available version has the required version number - # then nothing is to do. - for inforec in getproperty(info, spec) - if version == string(getproperty(inforec, :Version)) - fun = getproperty(inforec, :AvailabilityTest) - fun() && return true - end - end - end res = Globals.InstallPackage(GapObj(spec), GapObj(version), interactive; debug) end if quiet || debug