commit 217f90c05bdc6bc432975ad90bb14b3f36ac1836
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 41261d1..e0d392f 100644
--- a/samba4.spec
+++ b/samba4.spec
@@ -889,15 +889,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
@@ -914,7 +914,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/samba.git/commitdiff/8f2607b83208e9672972be90df9adb474f035876
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit