index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-10-18 13:25:13 +0200 |
---|---|---|
committer | Anton Hvornum <anton.feeds+github@gmail.com> | 2020-10-18 13:25:13 +0200 |
commit | a69e1af4f1b13e0a47d4dc634c03b5bc383b9adc (patch) | |
tree | adaf3b046fb4ee3fba6c083b4217ceec1ad42058 /examples/guided.py | |
parent | 4b1f22bf91ebd635eaccde670ddba2207b59713b (diff) |
-rw-r--r-- | examples/guided.py | 5 |
diff --git a/examples/guided.py b/examples/guided.py index aa5ec98d..30514a71 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -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) |