forked from pool/alsa-utils
Accepting request 879820 from home:tiwai:branches:multimedia:libs
- Fix superfluous asound.state migration (bsc#1183672) OBS-URL: https://build.opensuse.org/request/show/879820 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=190
This commit is contained in:
parent
f936d7ca95
commit
9d0f007087
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 18 08:40:22 CET 2021 - tiwai@suse.de
|
||||
|
||||
- Fix superfluous asound.state migration (bsc#1183672)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 21 10:21:14 CET 2021 - tiwai@suse.de
|
||||
|
||||
|
@ -163,9 +163,10 @@ 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 || \
|
||||
if [ ! -f %{_localstatedir}/lib/alsa/asound.state ]; then
|
||||
test -f /etc/asound.state && \
|
||||
cp -a /etc/asound.state %{_localstatedir}/lib/alsa/asound.state
|
||||
fi
|
||||
exit 0
|
||||
|
||||
%preun
|
||||
|
Loading…
Reference in New Issue
Block a user