index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-10-18 12:31:39 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-10-18 12:31:39 +0200 |
commit | c6eb0386db861a2e02ea3c63094721f30ee74b01 (patch) | |
tree | 8cc955747b0a7460fb088951a8cd7f887b2ffbc8 /profiles | |
parent | a73f0b0135f484079f88b9a242bf3b3c5bb1dda4 (diff) |
-rw-r--r-- | profiles/dekstop.py | 8 |
diff --git a/profiles/dekstop.py b/profiles/dekstop.py index e2d83169..35a31c43 100644 --- a/profiles/dekstop.py +++ b/profiles/dekstop.py @@ -11,20 +11,20 @@ def _prep_function(*args, **kwargs): """ supported_desktops = ['gnome', 'kde', 'awesome'] - dektop = archinstall.generic_select(supported_desktops, 'Select your desired desktop environemtn: ') + desktop = archinstall.generic_select(supported_desktops, 'Select your desired desktop environemtn: ') # Temporarly store the selected desktop profile # in a session-safe location, since this module will get re-loaded # the next time it gets executed. archinstall.storage['_desktop_profile'] = desktop - profile = archinstall.Profile(None, dektop) + profile = archinstall.Profile(None, desktop) # Loading the instructions with a custom namespace, ensures that a __name__ comparison is never triggered. - with profile.load_instructions(namespace=f"{dektop}.py") as imported: + with profile.load_instructions(namespace=f"{desktop}.py") as imported: if hasattr(imported, '_prep_function'): return imported._prep_function() else: - print(f"Deprecated (??): {dektop} profile has no _prep_function() anymore") + print(f"Deprecated (??): {desktop} profile has no _prep_function() anymore") if __name__ == 'desktop': """ |