[packages/samba4] - post scriptlets cleanup
baggins
baggins at pld-linux.org
Tue Apr 16 14:06:49 CEST 2013
commit e74e8a97b6797555e78292c0baa886d9bd4e0f3f
Author: Jan Rękorajski <baggins at pld-linux.org>
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
More information about the pld-cvs-commit
mailing list