Commit 0af18408 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-19706 RPM no longer installs init script on systemd systems, but preun...

MDEV-19706 RPM no longer installs init script on systemd systems, but preun script still tries to erase it
parent 27fcdb16
...@@ -7,9 +7,9 @@ if [ $1 = 0 ] ; then ...@@ -7,9 +7,9 @@ if [ $1 = 0 ] ; then
fi fi
if [ -x %{_sysconfdir}/init.d/mysql ] ; then if [ -x %{_sysconfdir}/init.d/mysql ] ; then
%{_sysconfdir}/init.d/mysql stop > /dev/null %{_sysconfdir}/init.d/mysql stop > /dev/null
fi if [ -x /sbin/chkconfig ] ; then
if [ -x /sbin/chkconfig ] ; then /sbin/chkconfig --del mysql > /dev/null 2>&1
/sbin/chkconfig --del mysql > /dev/null 2>&1 fi
fi fi
fi fi
......
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