commit e74e8a97b6797555e78292c0baa886d9bd4e0f3f
Author: Jan RÄ™korajski <[email protected]>
Date:   Tue Apr 16 14:06:34 2013 +0200

    - post scriptlets cleanup

 samba4.spec | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/samba4.spec b/samba4.spec
index 3eb4b92..fe878b8 100644
--- a/samba4.spec
+++ b/samba4.spec
@@ -888,15 +888,15 @@ install examples/LDAP/samba.schema 
$RPM_BUILD_ROOT%{schemadir}
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/chkconfig --add samba
-%service samba restart "Samba AD daemon"
+#/sbin/chkconfig --add samba
+#%service samba restart "Samba AD daemon"
 %systemd_post samba.service
 
 %preun
-if [ "$1" = "0" ]; then
-       %service samba stop
-       /sbin/chkconfig --del samba
-fi
+#if [ "$1" = "0" ]; then
+#      %service samba stop
+#      /sbin/chkconfig --del samba
+#fi
 %systemd_preun samba.service
 
 %postun
@@ -913,7 +913,7 @@ fi
 %preun -n samba3-server
 if [ "$1" = "0" ]; then
        %service smb stop
-       /sbin/chkconfig --del samba
+       /sbin/chkconfig --del smb
 fi
 %systemd_preun smb.service nmb.service
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/samba4.git/commitdiff/e74e8a97b6797555e78292c0baa886d9bd4e0f3f

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to