Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/scripts/swiss.py
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/scripts/swiss.py')
-rw-r--r--archinstall/scripts/swiss.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archinstall/scripts/swiss.py b/archinstall/scripts/swiss.py
index cd532f6d..80fa0a48 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)