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.
|
||||
Name: alsa-lib
|
||||
Version: %{version_main}%{?version_app}
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: LGPL
|
||||
Group: System Environment/Libraries
|
||||
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version_main}%{?prever}.tar.bz2
|
||||
@ -90,12 +90,16 @@ rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
if [ -f /var/run/console/console.lock ]; then
|
||||
/usr/bin/ainit `cat /var/run/console/console.lock` start
|
||||
fi
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%preun
|
||||
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
|
||||
ln -snf ../../etc/alsa %{_datadir}/alsa
|
||||
@ -129,6 +133,9 @@ ln -snf ../../etc/alsa %{_datadir}/alsa
|
||||
%{_datadir}/aclocal/alsa.m4
|
||||
|
||||
%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
|
||||
- fix for #159411
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user