]> git.pld-linux.org Git - packages/mysql.git/commitdiff
- guide where are the help tables data (probably it should be instead in iniscript?)
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 27 Jul 2005 13:51:06 +0000 (13:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    mysql.spec -> 1.295

mysql.spec

index 3a0e6e34110647b2bdb4acfcfdb5f73a9f5b2f12..543f21d88f4f79c27a8d4bc497b8440a40bbed70 100644 (file)
@@ -580,6 +580,15 @@ rm -rf $RPM_BUILD_ROOT
 %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
@@ -694,6 +703,12 @@ for config in $(awk -F= '!/^#/ && /=/{print $1}' /etc/mysql/clusters.conf); do
        ' $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
This page took 0.045673 seconds and 4 git commands to generate.