diff --git a/archinstall/lib/profile/profiles_handler.py b/archinstall/lib/profile/profiles_handler.py index cfe85de913..d98fccfea8 100644 --- a/archinstall/lib/profile/profiles_handler.py +++ b/archinstall/lib/profile/profiles_handler.py @@ -77,29 +77,6 @@ def parse_profile_config(self, profile_config: ProfileSerialization) -> Profile else: self._import_profile_from_url(url_path) - # if custom := profile_config.get('custom', None): - # from archinstall.default_profiles.custom import CustomTypeProfile - # custom_types = [] - # - # for entry in custom: - # custom_types.append( - # CustomTypeProfile( - # entry['name'], - # entry['enabled'], - # entry.get('packages', []), - # entry.get('services', []) - # ) - # ) - # - # self.remove_custom_profiles(custom_types) - # self.add_custom_profiles(custom_types) - # - # # this doesn't mean it's actual going to be set as a selection - # # but we are simply populating the custom profile with all - # # possible custom definitions - # if custom_profile := self.get_profile_by_name('Custom'): - # custom_profile.set_current_selection(custom_types) - if main := profile_config.get('main', None): profile = self.get_profile_by_name(main) if main else None @@ -113,7 +90,7 @@ def parse_profile_config(self, profile_config: ProfileSerialization) -> Profile if details: for detail in filter(None, details): # [2024-04-19] TODO: Backwards compatibility after naming change: https://github.com/archlinux/archinstall/pull/2421 - # 'Kde' is deprecated, remove this block in a future version + # 'Kde' is deprecated, remove this block in a future version if detail == 'Kde': detail = 'KDE Plasma' @@ -204,6 +181,7 @@ def install_greeter(self, install_session: 'Installer', greeter: GreeterType) -> service = ['ly'] case GreeterType.CosmicSession: packages = ['cosmic-greeter'] + service = ['cosmic-greeter'] if packages: install_session.add_additional_packages(packages)