fallback added for when profile is null/empty

This commit is contained in:
Yash Tripathi 2021-05-21 01:58:32 +05:30
parent 028b2b938a
commit 33f1957e4d
1 changed files with 4 additions and 1 deletions

View File

@ -408,6 +408,9 @@ else:
# Temporarily disabling keep_partitions if config file is loaded
archinstall.arguments['harddrive'].keep_partitions = False
# Temporary workaround to make Desktop Environments work
archinstall.arguments['profile'] = archinstall.Profile(None, archinstall.arguments.get('profile', None))
if archinstall.arguments.get('profile', None) is not None:
archinstall.arguments['profile'] = archinstall.Profile(None, archinstall.arguments.get('profile', None))
else:
archinstall.arguments['profile'] = None
perform_installation_steps()