removed all /etc/asound.state references

This commit is contained in:
Jaroslav Kysela 2011-01-28 15:00:43 +01:00
parent dc2b006b7a
commit 13458298fa

View File

@ -67,7 +67,6 @@ ln -s ../../../lib/alsa/init %{buildroot}%{_datadir}/alsa/init
# Create a place for global configuration # Create a place for global configuration
mkdir -p -m 755 %{buildroot}/etc/alsa mkdir -p -m 755 %{buildroot}/etc/alsa
install -p -m 644 %{SOURCE11} %{buildroot}/etc/alsa install -p -m 644 %{SOURCE11} %{buildroot}/etc/alsa
touch %{buildroot}/etc/asound.state
# Create /var/lib/alsa tree # Create /var/lib/alsa tree
mkdir -p -m 755 %{buildroot}/var/lib/alsa mkdir -p -m 755 %{buildroot}/var/lib/alsa
@ -99,7 +98,6 @@ ln -s alsa-info %{buildroot}/usr/bin/alsa-info.sh
%dir /lib/alsa/ %dir /lib/alsa/
%dir /lib/alsa/init/ %dir /lib/alsa/init/
%dir /var/lib/alsa/ %dir /var/lib/alsa/
%ghost /etc/asound.state
%post %post
if [ -s /etc/alsa/asound.state -a ! -s /etc/asound.state ] ; then if [ -s /etc/alsa/asound.state -a ! -s /etc/asound.state ] ; then