--- rpms/e-smith-ldap/sme10/e-smith-ldap.spec 2023/02/06 05:48:31 1.22 +++ rpms/e-smith-ldap/sme10/e-smith-ldap.spec 2023/02/06 06:14:12 1.23 @@ -1,4 +1,4 @@ -# $Id: e-smith-ldap.spec,v 1.21 2023/02/06 05:26:53 jpp Exp $ +# $Id: e-smith-ldap.spec,v 1.22 2023/02/06 05:48:31 jpp Exp $ Summary: e-smith server and gateway - LDAP module %define name e-smith-ldap @@ -1101,8 +1101,9 @@ rm -rf $RPM_BUILD_ROOT %defattr(-,root,root) %pre -if [ -l /etc/systemd/system/slapd.service ] ; then - /usr/bin/unlink /etc/systemd/system/slapd.service +if [ -L /etc/systemd/system/slapd.service ] ; then + echo "hum" + #/usr/bin/unlink /etc/systemd/system/slapd.service fi if [ $1 -gt 1 ] ; then if [ -e /var/service/ldap/run ] ; then