mirror of
https://github.com/MariaDB/server.git
synced 2025-02-13 17:05:35 +01:00
![Tuukka Pasanen](/assets/img/avatar_default.png)
There is several misindentation inside Debian post and pre installation scripts. False indentation with space as indent space should be 2 and indentation with tabs.
12 lines
330 B
Bash
12 lines
330 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
|