Moved the print logic for browser warning

This commit is contained in:
Anton Hvornum 2021-04-06 19:05:52 +02:00 committed by GitHub
parent 6c3f46f617
commit 2e7930857b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -181,8 +181,8 @@ def ask_user_questions():
exit(1)
# Additional packages (with some light weight error handling for invalid package names)
print("Packages not part of the desktop environment are not installed by default. If you desire a web browser, such as firefox or chromium, you may specify it in the following prompt.")
if not archinstall.arguments.get('packages', None):
print("Packages not part of the desktop environment are not installed by default. If you desire a web browser, such as firefox or chromium, you may specify it in the following prompt.")
archinstall.arguments['packages'] = [package for package in input('Write additional packages to install (space separated, leave blank to skip): ').split(' ') if len(package)]
# Verify packages that were given