__name__ missmatch in gnome profile.

This commit is contained in:
Anton Hvornum 2020-09-30 12:46:34 +00:00
parent 534679e88f
commit c1692a478d
1 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ def _prep_function(*args, **kwargs):
print('Deprecated (??): xorg profile has no _prep_function() anymore')
# Ensures that this code only gets executed if executed
# through importlib.util.spec_from_file_location("awesome", "/somewhere/awesome.py")
# or through conventional import awesome
if __name__ == 'awesome':
# through importlib.util.spec_from_file_location("gnome", "/somewhere/gnome.py")
# or through conventional import gnome
if __name__ == 'gnome':
# Install dependency profiles
installation.install_profile('xorg')