| 1 |
#%Module |
| 2 |
|
| 3 |
# use module-hide only if available |
| 4 |
if {[info commands module-hide] eq {module-hide}} { |
| 5 |
module-hide --after 2020-10-01 foo/1.1 |
| 6 |
} |
| 7 |
# use module-forbid only if available |
| 8 |
if {[info commands module-forbid] eq {module-forbid}} { |
| 9 |
module-forbid --after 2020-10-01 foo/1.1 |
| 10 |
} |