- Fix post install not to fire if /dev/initctr does not exist

This commit is contained in:
Daniel J Walsh 2006-02-13 20:57:55 +00:00
parent 81037ffe80
commit 98631160af
1 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Summary: SELinux binary policy manipulation library
Name: libsepol
Version: 1.11.14
Release: 1
Release: 2
License: GPL
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/libsepol-%{version}.tgz
@ -60,7 +60,7 @@ rm -rf ${RPM_BUILD_ROOT}
%post
/sbin/ldconfig
[ -x /sbin/telinit ] && /sbin/telinit U
[ -x /sbin/telinit ] && [ -p /dev/initctl ] && /sbin/telinit U
exit 0
%postun -p /sbin/ldconfig
@ -80,6 +80,9 @@ exit 0
%{_includedir}/sepol/policydb/*.h
%changelog
* Mon Feb 13 2006 Dan Walsh <dwalsh@redhat.com> 1.11.14-2
- Fix post install not to fire if /dev/initctr does not exist
* Mon Feb 13 2006 Dan Walsh <dwalsh@redhat.com> 1.11.14-1
- Upgrade to latest from NSA
* Merged optionals in base patch from Joshua Brindle.