diff options
author | unknown <eric@mysql.com> | 2005-11-22 13:51:33 -0800 |
---|---|---|
committer | unknown <eric@mysql.com> | 2005-11-22 13:51:33 -0800 |
commit | 3fc47df69481d020893e3a25b90ee250ce6192b4 (patch) | |
tree | be394c6ba4f798b98d70b4dc63f0cc97fbf0d7bf | |
parent | ae4494ba88ea7323743c28d23c410a20a095d26c (diff) | |
parent | 3380fd1d77c36ae3fe7114c935c2601646856ed5 (diff) | |
download | mariadb-git-3fc47df69481d020893e3a25b90ee250ce6192b4.tar.gz |
Merge eherman@bk-internal.mysql.com:/home/bk/mysql-5.1-new
into mysql.com:/home/eric/fed-txn-mysql-5.1-new
-rw-r--r-- | support-files/mysql.spec.sh | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/support-files/mysql.spec.sh b/support-files/mysql.spec.sh index e5ff026a851..d93cb1f2176 100644 --- a/support-files/mysql.spec.sh +++ b/support-files/mysql.spec.sh @@ -508,22 +508,22 @@ echo "Restarting mysqld." %preun server if test $1 = 0 then - # Stop MySQL before uninstalling it + # Stop MySQL before uninstalling it if test -x %{_sysconfdir}/init.d/mysql then %{_sysconfdir}/init.d/mysql stop > /dev/null - fi - # Remove autostart of mysql - # for older SuSE Linux versions - if test -x /sbin/insserv - then - /sbin/insserv -r %{_sysconfdir}/init.d/mysql - # use chkconfig on Red Hat and newer SuSE releases - elif test -x /sbin/chkconfig - then - /sbin/chkconfig --del mysql - fi + # Remove autostart of mysql + # for older SuSE Linux versions + if test -x /sbin/insserv + then + /sbin/insserv -r %{_sysconfdir}/init.d/mysql + # use chkconfig on Red Hat and newer SuSE releases + elif test -x /sbin/chkconfig + then + /sbin/chkconfig --del mysql + fi + fi fi # We do not remove the mysql user since it may still own a lot of @@ -706,6 +706,11 @@ fi # itself - note that they must be ordered by date (important when # merging BK trees) %changelog +* Tue Nov 22 2005 Joerg Bruehe <joerg@mysql.com> + +- Extend the file existence check for "init.d/mysql" on un-install + to also guard the call to "insserv"/"chkconfig". + * Thu Oct 27 2005 Lenz Grimmer <lenz@grimmer.com> - added more man pages |