Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Thanks @e9x for the report.
  • Loading branch information
marmarek committed May 18, 2024
1 parent 7fb10da commit 78e2b8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dom0-updates/qubes-dom0-update
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ if [ "$AUDIO_SWITCH" = "pipewire" ]; then
if ! rpm -q pipewire pipewire-pulseaudio >/dev/null; then
echo "Switching from Pulseaudio to PipeWire" >&2
SWITCHING_AUDIO_IN_PROGRESS=yes "$0" "${UPDATEVM_OPTS[@]}" --action=install --allowerasing pipewire pipewire-pulseaudio || exit $?
echo "Audio daemon switched to PipeWire, you can undo it with qubes-domo0-update --switch-audio-server-to=pulseaudio" >&2
echo "Audio daemon switched to PipeWire, you can undo it with qubes-dom0-update --switch-audio-server-to=pulseaudio" >&2
# do not leave the user with stopped both daemons
user=$(getent group qubes|cut -f 4 -d :|cut -f 1 -d ,) || exit 1
uid=$(id -u "$user") || exit 1
Expand All @@ -385,7 +385,7 @@ elif [ "$AUDIO_SWITCH" = "pulseaudio" ]; then
if ! rpm -q pulseaudio >/dev/null; then
echo "Switching from PipeWire to Pulseaudio" >&2
SWITCHING_AUDIO_IN_PROGRESS=yes "$0" "${UPDATEVM_OPTS[@]}" --allowerasing --action=swap pipewire pulseaudio || exit $?
echo "Audio daemon switched to Pulseaudio, you can undo it with qubes-domo0-update --switch-audio-server-to=pipewire" >&2
echo "Audio daemon switched to Pulseaudio, you can undo it with qubes-dom0-update --switch-audio-server-to=pipewire" >&2
# do not leave the user with stopped both daemons
user=$(getent group qubes|cut -f 4 -d :|cut -f 1 -d ,) || exit 1
uid=$(id -u "$user") || exit 1
Expand Down

0 comments on commit 78e2b8d

Please sign in to comment.