1 |
# $Id: e-smith-ldap.spec,v 1.22 2023/02/06 05:48:31 jpp Exp $ |
# $Id: e-smith-ldap.spec,v 1.23 2023/02/06 06:14:12 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - LDAP module |
Summary: e-smith server and gateway - LDAP module |
4 |
%define name e-smith-ldap |
%define name e-smith-ldap |
1102 |
|
|
1103 |
%pre |
%pre |
1104 |
if [ -L /etc/systemd/system/slapd.service ] ; then |
if [ -L /etc/systemd/system/slapd.service ] ; then |
1105 |
echo "hum" |
/usr/bin/unlink /etc/systemd/system/slapd.service |
|
#/usr/bin/unlink /etc/systemd/system/slapd.service |
|
1106 |
fi |
fi |
1107 |
if [ $1 -gt 1 ] ; then |
if [ $1 -gt 1 ] ; then |
1108 |
if [ -e /var/service/ldap/run ] ; then |
if [ -e /var/service/ldap/run ] ; then |