forked from pool/alsa-utils
Accepting request 842418 from home:tiwai:branches:multimedia:libs
- Migrate the old asound.state file if the new path isn't present yet (bsc#1177826) OBS-URL: https://build.opensuse.org/request/show/842418 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=183
This commit is contained in:
parent
f9abce01d9
commit
fec9d9b248
@ -2,6 +2,8 @@
|
||||
Sun Oct 18 19:12:43 CEST 2020 - tiwai@suse.de
|
||||
|
||||
- Use /run/lock for alsactl lock directory (bsc#1177826)
|
||||
- Migrate the old asound.state file if the new path isn't present
|
||||
yet (bsc#1177826)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 5 12:39:42 CEST 2020 - tiwai@suse.de
|
||||
|
@ -116,6 +116,11 @@ install -c -m 0755 %{SOURCE5} %{buildroot}%{_prefix}/lib/systemd/scripts
|
||||
|
||||
%post
|
||||
%service_add_post sound-extra.service
|
||||
# migrate the old asound.state
|
||||
test -f %{_localstatedir}/lib/alsa/asound.state || \
|
||||
test -f /etc/asound.state && \
|
||||
cp -a /etc/asound.state %{_localstatedir}/lib/alsa/asound.state
|
||||
exit 0
|
||||
|
||||
%preun
|
||||
%service_del_preun sound-extra.service
|
||||
|
Loading…
Reference in New Issue
Block a user