fix the problem that autostart failed

- 修复自启动失败的问题
This commit is contained in:
luoqing 2022-08-15 14:02:33 +08:00
parent 1a4c936e50
commit 8e00ac63e4
2 changed files with 5 additions and 2 deletions

View File

@ -13,7 +13,7 @@ index 722a639..7cdf14e 100755
set -e
+# probe to test if autospawn works, else resort to starting manually
+@PACTL_BINARY@ info > /dev/null 2>&1 || @PA_BINARY@ --start "$@"
+@PACTL_BINARY@ info > /dev/null 2>&1 || /usr/bin/pulseaudio --start "$@"
+
if [ -n "$1" ] ; then
case $1 in

View File

@ -6,7 +6,7 @@
Name: pulseaudio
Summary: Improved Linux Sound Server
Version: 16.1
Release: 1
Release: 2
License: LGPLv2+
URL: https://www.freedesktop.org/wiki/Software/PulseAudio
Source0: https://freedesktop.org/software/pulseaudio/releases/pulseaudio-%{version}.tar.xz
@ -232,6 +232,9 @@ exit 0
%{_mandir}/man*/*
%changelog
* Mon Aug 15 2022 luoqing <luoqing@kylinsec.com.cn> - 16.1-2
- fix the problem that autostart failed
* Thu Aug 04 2022 Qingqing Li <liqingqing3@huawei.com> - 16.1-1
- upgrade to 16.1