index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Dylan M. Taylor <dylan@dylanmtaylor.com> | 2022-05-28 10:29:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-28 16:29:46 +0200 |
commit | 2e77393cf8397197e8006293c230dd93c4378bad (patch) | |
tree | e46cdde931ad26c5b551411a16fbf5a44203e0e1 /archinstall/lib/user_interaction/general_conf.py | |
parent | 486ad7dd6d195dd435c5da58d241e14742f60485 (diff) |
-rw-r--r-- | archinstall/lib/user_interaction/general_conf.py | 4 |
diff --git a/archinstall/lib/user_interaction/general_conf.py b/archinstall/lib/user_interaction/general_conf.py index d4dc60db..f1d56fc1 100644 --- a/archinstall/lib/user_interaction/general_conf.py +++ b/archinstall/lib/user_interaction/general_conf.py @@ -172,8 +172,8 @@ def ask_additional_packages_to_install(pre_set_packages: List[str] = []) -> List def read_packages(already_defined: list = []) -> list: display = ' '.join(already_defined) - input_packages = TextInput(_('Write additional packages to install (space separated, leave blank to skip): '), display).run() - return input_packages.split(' ') if input_packages else [] + input_packages = TextInput(_('Write additional packages to install (space separated, leave blank to skip): '), display).run().strip() + return input_packages.split() if input_packages else [] pre_set_packages = pre_set_packages if pre_set_packages else [] packages = read_packages(pre_set_packages) |