1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

packaging(RHEL-CTDB): in %preun, first stop the service then deactivate

Michael
(This used to be commit b3e552d795caf6e4ab811368fda4a8a2f2d493a0)
This commit is contained in:
Michael Adam 2008-05-23 12:50:14 +02:00
parent 0da2b0bf86
commit f1e91b4528

View File

@ -343,9 +343,9 @@ fi
%preun %preun
if [ $1 = 0 ] ; then if [ $1 = 0 ] ; then
/sbin/service smb stop >/dev/null 2>&1
/sbin/chkconfig --del smb /sbin/chkconfig --del smb
# rm -rf /var/log/samba/* /var/lib/samba/* # rm -rf /var/log/samba/* /var/lib/samba/*
/sbin/service smb stop >/dev/null 2>&1
fi fi
exit 0 exit 0