From 038d821e2fa2c8e56cf4ed42015ad6299d556a4e Mon Sep 17 00:00:00 2001 From: Daniel Girtler Date: Sun, 3 Sep 2023 15:12:11 +1000 Subject: [PATCH] Fix 1973 - pipewire --- archinstall/scripts/guided.py | 6 +++--- archinstall/scripts/swiss.py | 6 +++--- examples/interactive_installation.py | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/archinstall/scripts/guided.py b/archinstall/scripts/guided.py index 605d2b0e98..51549fa804 100644 --- a/archinstall/scripts/guided.py +++ b/archinstall/scripts/guided.py @@ -166,9 +166,6 @@ def perform_installation(mountpoint: Path): archinstall.arguments.get('profile_config', None) ) - if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '': - installation.add_additional_packages(archinstall.arguments.get('packages', None)) - if users := archinstall.arguments.get('!users', None): installation.create_users(users) @@ -178,6 +175,9 @@ def perform_installation(mountpoint: Path): else: info("No audio server will be installed") + if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '': + installation.add_additional_packages(archinstall.arguments.get('packages', None)) + if profile_config := archinstall.arguments.get('profile_config', None): profile_handler.install_profile_config(installation, profile_config) diff --git a/archinstall/scripts/swiss.py b/archinstall/scripts/swiss.py index cd532f6d3d..80fa0a4825 100644 --- a/archinstall/scripts/swiss.py +++ b/archinstall/scripts/swiss.py @@ -230,9 +230,6 @@ def perform_installation(mountpoint: Path, exec_mode: ExecutionMode): archinstall.arguments.get('profile_config', None) ) - if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '': - installation.add_additional_packages(archinstall.arguments.get('packages', [])) - if users := archinstall.arguments.get('!users', None): installation.create_users(users) @@ -242,6 +239,9 @@ def perform_installation(mountpoint: Path, exec_mode: ExecutionMode): else: info("No audio server will be installed") + if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '': + installation.add_additional_packages(archinstall.arguments.get('packages', [])) + if profile_config := archinstall.arguments.get('profile_config', None): profile_handler.install_profile_config(installation, profile_config) diff --git a/examples/interactive_installation.py b/examples/interactive_installation.py index e075df9b13..9eac029ce6 100644 --- a/examples/interactive_installation.py +++ b/examples/interactive_installation.py @@ -144,9 +144,6 @@ def perform_installation(mountpoint: Path): archinstall.arguments.get('profile_config', None) ) - if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '': - installation.add_additional_packages(archinstall.arguments.get('packages', [])) - if users := archinstall.arguments.get('!users', None): installation.create_users(users) @@ -156,6 +153,9 @@ def perform_installation(mountpoint: Path): else: info("No audio server will be installed") + if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '': + installation.add_additional_packages(archinstall.arguments.get('packages', [])) + if profile_config := archinstall.arguments.get('profile_config', None): profile.profile_handler.install_profile_config(installation, profile_config)