Skip to content

Commit

Permalink
re-arrange logic
Browse files Browse the repository at this point in the history
  • Loading branch information
wpoely86 committed Nov 29, 2023
1 parent b2c5a84 commit 03c8918
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Lmod-config.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Summary: Sitepackage and other config files for Lmod
Name: Lmod-config
Version: 1.6
Release: 1
Release: 2
License: GPL
Group: Applications/System
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Expand Down
6 changes: 4 additions & 2 deletions SitePackage.lua
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,10 @@ local function visible_hook(modT)
modT.isVisible = false
elseif modT.fullName:find("AlphaFold/.*ColabFold") then
modT.isVisible = false
elseif modT.fn:find("^/apps/brussel/CO7/") and not mt:exists('legacy-software') then
modT.isVisible = false
elseif modT.fn:find("^/apps/brussel/CO7/") then
if not mt:exists('legacy-software') then
modT.isVisible = false
end
elseif module_age(modT) > 5 then
modT.isVisible = false
end
Expand Down

0 comments on commit 03c8918

Please sign in to comment.