Moved the print logic for browser warning

This commit is contained in:
Anton Hvornum 2021-04-06 19:05:52 +02:00 committed by Dylan Taylor
parent b483c718da
commit e9a3e8661e
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