mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
375b8f40ce
Remove version suffix from Debian packages (for example mariadb-server-10.9) because installing suffixed package removes older version of package even if it's suffixed (for example mariadb-server-10.7) This make also Debian package management easier in future MariaDB version iterations because there is no need for stacking Conlicts/Breaks/Replaces-parameters in every new major release
12 lines
326 B
Bash
12 lines
326 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
#DEBHELPER#
|
|
|
|
# Modified dh_systemd_start snippet that's not added automatically
|
|
if [ -d /run/systemd/system ]; then
|
|
deb-systemd-invoke stop mariadb.service >/dev/null
|
|
# Modified dh_installinit snippet to only run with sysvinit
|
|
elif [ -x "/etc/init.d/mariadb" ]; then
|
|
invoke-rc.d mariadb stop || exit $?
|
|
fi
|