%post
[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
/sbin/chkconfig --add mysql
+
+if [ "$1" = 1 ]; then
+ %banner -e %{name}-4.1.x <<-EOF
+ If you want to use new help tables in mysql 4.1.x then you'll need to import the help data:
+ zcat %{_docdir}/%{name}-%{version}/fill_help_tables.sql.gz | mysql mysql
+EOF
+#'
+fi
+
%service mysql restart
%preun
' $config_file
done
+%banner -e %{name}-4.1.x <<-EOF
+ If you want to use new help tables in mysql 4.1.x then you'll need to import the help data:
+ zcat %{_docdir}/%{name}-%{version}/fill_help_tables.sql.gz | mysql mysql
+EOF
+#'
+
%files
%defattr(644,root,root,755)
%doc support-files/*.cnf support-files/*.ini scripts/fill_help_tables.sql