fallback added for when profile is null/empty
This commit is contained in:
parent
028b2b938a
commit
33f1957e4d
|
|
@ -408,6 +408,9 @@ else:
|
||||||
# Temporarily disabling keep_partitions if config file is loaded
|
# Temporarily disabling keep_partitions if config file is loaded
|
||||||
archinstall.arguments['harddrive'].keep_partitions = False
|
archinstall.arguments['harddrive'].keep_partitions = False
|
||||||
# Temporary workaround to make Desktop Environments work
|
# 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()
|
perform_installation_steps()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue