check for /var/run/console/console.lock (#162982)
This commit is contained in:
parent
ac0e91ded6
commit
25447ef3f0
@ -5,7 +5,7 @@
|
|||||||
Summary: The Advanced Linux Sound Architecture (ALSA) library.
|
Summary: The Advanced Linux Sound Architecture (ALSA) library.
|
||||||
Name: alsa-lib
|
Name: alsa-lib
|
||||||
Version: %{version_main}%{?version_app}
|
Version: %{version_main}%{?version_app}
|
||||||
Release: 2
|
Release: 3
|
||||||
License: LGPL
|
License: LGPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version_main}%{?prever}.tar.bz2
|
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version_main}%{?prever}.tar.bz2
|
||||||
@ -90,12 +90,16 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
/usr/bin/ainit `cat /var/run/console/console.lock` start
|
if [ -f /var/run/console/console.lock ]; then
|
||||||
|
/usr/bin/ainit `cat /var/run/console/console.lock` start
|
||||||
|
fi
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
/usr/bin/ainit `cat /var/run/console/console.lock` stop
|
if [ -f /var/run/console/console.lock ]; then
|
||||||
|
/usr/bin/ainit `cat /var/run/console/console.lock` stop
|
||||||
|
fi
|
||||||
|
|
||||||
%triggerpostun -- alsa-lib < 1.0.6-2
|
%triggerpostun -- alsa-lib < 1.0.6-2
|
||||||
ln -snf ../../etc/alsa %{_datadir}/alsa
|
ln -snf ../../etc/alsa %{_datadir}/alsa
|
||||||
@ -129,6 +133,9 @@ ln -snf ../../etc/alsa %{_datadir}/alsa
|
|||||||
%{_datadir}/aclocal/alsa.m4
|
%{_datadir}/aclocal/alsa.m4
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 20 2005 Martin Stransky <stransky@redhat.com> 1.0.9rf-3
|
||||||
|
- check for /var/run/console/console.lock (#162982)
|
||||||
|
|
||||||
* Thu Jun 16 2005 Martin Stransky <stransky@redhat.com> 1.0.9rf-2
|
* Thu Jun 16 2005 Martin Stransky <stransky@redhat.com> 1.0.9rf-2
|
||||||
- fix for #159411
|
- fix for #159411
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user