Commit c735d07d authored by joerg@mysql.com's avatar joerg@mysql.com

support-files/mysql.spec.sh

Fix a possible problem on RPM un-install. bug#15145
parent f12212f7
...@@ -491,7 +491,6 @@ then ...@@ -491,7 +491,6 @@ then
if test -x %{_sysconfdir}/init.d/mysql if test -x %{_sysconfdir}/init.d/mysql
then then
%{_sysconfdir}/init.d/mysql stop > /dev/null %{_sysconfdir}/init.d/mysql stop > /dev/null
fi
# Remove autostart of mysql # Remove autostart of mysql
# for older SuSE Linux versions # for older SuSE Linux versions
...@@ -503,6 +502,7 @@ then ...@@ -503,6 +502,7 @@ then
then then
/sbin/chkconfig --del mysql /sbin/chkconfig --del mysql
fi fi
fi
fi fi
# We do not remove the mysql user since it may still own a lot of # We do not remove the mysql user since it may still own a lot of
...@@ -689,6 +689,11 @@ fi ...@@ -689,6 +689,11 @@ fi
# itself - note that they must be ordered by date (important when # itself - note that they must be ordered by date (important when
# merging BK trees) # merging BK trees)
%changelog %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> * Thu Oct 27 2005 Lenz Grimmer <lenz@grimmer.com>
- added more man pages - added more man pages
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment