Skip to content

Commit

Permalink
Fix 1973 - pipewire (#2030)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Girtler <[email protected]>
  • Loading branch information
svartkanin and svartkanin authored Sep 14, 2023
1 parent 9bfd8c6 commit 3ba1a37
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions archinstall/scripts/guided.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down
6 changes: 3 additions & 3 deletions archinstall/scripts/swiss.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down
6 changes: 3 additions & 3 deletions examples/interactive_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand Down

0 comments on commit 3ba1a37

Please sign in to comment.