diff --git a/Lmod-config.spec b/Lmod-config.spec index c65c9c4..f1016d8 100644 --- a/Lmod-config.spec +++ b/Lmod-config.spec @@ -1,6 +1,6 @@ Summary: Sitepackage and other config files for Lmod Name: Lmod-config -Version: 1.8 +Version: 1.9 Release: 1 License: GPL Group: Applications/System diff --git a/SitePackage.lua b/SitePackage.lua index c89c5dd..9e5e6ad 100644 --- a/SitePackage.lua +++ b/SitePackage.lua @@ -87,7 +87,7 @@ local function load_hook(t) if frameStk:atTop() then if age > 7 then LmodWarning{msg="vub_very_old_module", fullName=t.modFullName} - elseif age > 5 then + elseif age > 6 then LmodMessage{msg="vub_old_module", fullName=t.modFullName} end end @@ -248,7 +248,7 @@ local function visible_hook(modT) if not mt:exists('legacy-software') then modT.isVisible = false end - elseif module_age(modT) > 5 then + elseif module_age(modT) > 6 then modT.isVisible = false end end