Added error handling to guided.py when not selecting a profile to install.
This commit is contained in:
parent
4b1f22bf91
commit
a69e1af4f1
|
|
@ -112,8 +112,11 @@ while 1:
|
|||
while 1:
|
||||
packages = [package for package in input('Additional packages aside from base (space separated): ').split(' ') if len(package)]
|
||||
|
||||
if not packages:
|
||||
break
|
||||
|
||||
try:
|
||||
if packages and archinstall.validate_package_list(packages):
|
||||
if archinstall.validate_package_list(packages):
|
||||
break
|
||||
except archinstall.RequirementError as e:
|
||||
print(e)
|
||||
|
|
|
|||
Loading…
Reference in New Issue