Skip to content
Snippets Groups Projects
Commit 81d5383b authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

update hook

parent 30a89892
No related branches found
No related tags found
No related merge requests found
......@@ -110,7 +110,7 @@ def installation_vetoer(ec):
system_name = os.getenv('LMOD_SYSTEM_NAME')
if system_name is None:
with open('/etc/FZJ/systemname') as sn:
system_name = sn.read()
system_name = sn.read().strip()
if name in VETOED_INSTALLATIONS[system_name]:
print_warning(
"\nYou are attempting to install software that should not be installed in this system.\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment