diff options
Diffstat (limited to 'perl-install/harddrake')
-rw-r--r-- | perl-install/harddrake/sound.pm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index ec4823372..6cdefc266 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -356,10 +356,8 @@ sub disable_all_pipewire { rooted('/usr/bin/systemctl', '--global', 'disable', 'wireplumber.service'); } - if ($in->do_pkgs->is_installed('pipewire')) { - foreach ('pipewire.socket', 'pipewire.service') { - rooted('/usr/bin/systemctl', '--global', 'disable', $_); - } + if ($in->do_pkgs->is_installed('pipewire-media-session')) { + rooted('/usr/bin/systemctl', '--global', 'disable', 'pipewire-media-session.service'); } if ($in->do_pkgs->is_installed('pipewire-pulseaudio')) { @@ -368,8 +366,10 @@ sub disable_all_pipewire { } } - if ($in->do_pkgs->is_installed('pipewire-media-session')) { - rooted('/usr/bin/systemctl', '--global', 'disable', 'pipewire-media-session.service'); + if ($in->do_pkgs->is_installed('pipewire')) { + foreach ('pipewire.socket', 'pipewire.service') { + rooted('/usr/bin/systemctl', '--global', 'disable', $_); + } } } |