Fix %postun
This commit is contained in:
parent
d895a5f72c
commit
d7effc61bd
17
sssd.spec
17
sssd.spec
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
Name: sssd
|
Name: sssd
|
||||||
Version: 1.5.5
|
Version: 1.5.5
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Summary: System Security Services Daemon
|
Summary: System Security Services Daemon
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -275,16 +275,12 @@ if [ $1 = 0 ]; then
|
|||||||
/bin/systemctl stop sssd.service > /dev/null 2>&1 || :
|
/bin/systemctl stop sssd.service > /dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%triggerun -- sssd < 1.5.5-3
|
%triggerun -- sssd < 1.5.5-4
|
||||||
if /sbin/chkconfig sssd ; then
|
if /sbin/chkconfig sssd ; then
|
||||||
/bin/systemctl --no-reload enable sssd.service >/dev/null 2>&1 || :
|
/bin/systemctl --no-reload enable sssd.service >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun
|
||||||
|
|
||||||
%post client -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%postun client
|
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
|
||||||
if [ $1 -ge 1 ] ; then
|
if [ $1 -ge 1 ] ; then
|
||||||
@ -293,7 +289,14 @@ if [ $1 -ge 1 ] ; then
|
|||||||
/bin/systemctl try-restart sssd.service >/dev/null 2>&1 || :
|
/bin/systemctl try-restart sssd.service >/dev/null 2>&1 || :
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%post client -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun client -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 18 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.5.5-4
|
||||||
|
- Fix %%postun
|
||||||
|
|
||||||
* Thu Apr 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.5.5-3
|
* Thu Apr 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 1.5.5-3
|
||||||
- Fix systemd conversion. Upgrades from SysV to systemd weren't properly
|
- Fix systemd conversion. Upgrades from SysV to systemd weren't properly
|
||||||
- enabling the systemd service.
|
- enabling the systemd service.
|
||||||
|
Loading…
Reference in New Issue
Block a user