- 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

View File

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