Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-04-06 20:47:30 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-09 11:46:47 -0400
commitd252e090a646275b8e0d3b19070577f9884aba58 (patch)
treeae57feb02307a05fa0eee601b99d3084aeea2894 /examples/guided.py
parent9395d68d5d2d82bf3df66e9450fb51941552bd4e (diff)
Have pulseaudio installed just in case DEs don't depend on it if pipewire is not requested.
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index bd4b5a9f..f7078242 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -286,6 +286,9 @@ def perform_installation(device, boot_partition, language, mirrors):
if archinstall.arguments.get('audio', None) == 'pipewire':
print('Installing pipewire ...')
installation.add_additional_packages(["pipewire", "pipewire-alsa", "pipewire-docs", "pipewire-jack", "pipewire-media-session", "pipewire-pulse", "gst-plugin-pipewire", "libpulse"])
+ elif archinstall.arguments.get('audio', None) == 'pulseaudio':
+ print('Installing pulseaudio ...')
+ installation.add_additional_packages("pulseaudio")
if archinstall.arguments.get('packages', None) and archinstall.arguments.get('packages', None)[0] != '':
installation.add_additional_packages(archinstall.arguments.get('packages', None))