What would be the use of restarting a service that has just
been uninstalled...
Michael
+if [ "$1" -ge "1" ]; then
+ %{initdir}/smb restart >/dev/null 2>&1
+fi
+
%preun
if [ $1 = 0 ] ; then
/sbin/chkconfig --del smb
%preun
if [ $1 = 0 ] ; then
/sbin/chkconfig --del smb
-%postun
-if [ "$1" -ge "1" ]; then
- %{initdir}/smb restart >/dev/null 2>&1
-fi
-
%post swat
# Add swat entry to /etc/services if not already there.
%post swat
# Add swat entry to /etc/services if not already there.