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