[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] pa-info: look for alsa-info.sh in /usr/sbin as well

PulseAudio Marge Bot gitlab at gitlab.freedesktop.org
Thu Nov 26 14:36:16 UTC 2020



PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
0fc54f9e by Igor V. Kovalenko at 2020-11-26T17:28:46+03:00
pa-info: look for alsa-info.sh in /usr/sbin as well

At least Gentoo and OpenSUSE install alsa-info.sh in /usr/sbin, look there too.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/422>

- - - - -


1 changed file:

- src/utils/pa-info


Changes:

=====================================
src/utils/pa-info
=====================================
@@ -40,6 +40,7 @@ function jacks_do {
 function alsa_info_do {
 	alsa_info=$(which alsa-info.sh)
 	[ $alsa_info ] || alsa_info=$(which alsa-info)
+	[ $alsa_info ] || alsa_info='/usr/sbin/alsa-info.sh'
 	[ $alsa_info ] || alsa_info='/usr/share/alsa-base/alsa-info.sh'
 	[ -f $alsa_info ] && {
 		$alsa_info --stdout



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/0fc54f9e7a9f441a33c87baec39a32ac8efe6e2c

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/0fc54f9e7a9f441a33c87baec39a32ac8efe6e2c
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20201126/8be7a927/attachment.htm>


More information about the pulseaudio-commits mailing list