SHA256
1
0
forked from jengelh/sssd

- fix %postun to not erroneously remove sss pam module

OBS-URL: https://build.opensuse.org/package/show/network:ldap/sssd?expand=0&rev=118
This commit is contained in:
Christian Kornacker 2014-06-12 14:36:57 +00:00 committed by Git OBS Bridge
parent bb58307ee8
commit 736d48179c
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 12 14:18:30 UTC 2014 - ckornacker@suse.com
- fix %postun to not erroneously remove sss pam module
------------------------------------------------------------------- -------------------------------------------------------------------
Tue May 27 16:56:42 UTC 2014 - crrodriguez@opensuse.org Tue May 27 16:56:42 UTC 2014 - crrodriguez@opensuse.org

View File

@ -371,13 +371,13 @@ rm -Rf "$b/usr/share/locale"/{fa_IR,ja_JP,lt_LT,ta_IN,vi_VN}
%endif %endif
%postun %postun
if [ "$1" == "0" ]; then
"%_sbindir/pam-config" -d --sss || :;
fi;
/sbin/ldconfig /sbin/ldconfig
%if 0%{?_unitdir:1} %if 0%{?_unitdir:1}
%service_del_postun sssd.service %service_del_postun sssd.service
%endif %endif
if [ "$1" == "0" ]; then
"%_sbindir/pam-config" -d --sss || :;
fi;
%post -n libipa_hbac0 -p /sbin/ldconfig %post -n libipa_hbac0 -p /sbin/ldconfig
%postun -n libipa_hbac0 -p /sbin/ldconfig %postun -n libipa_hbac0 -p /sbin/ldconfig