mirror of
https://github.com/MariaDB/server.git
synced 2025-08-12 20:49:12 +03:00
MDEV-30952: Reformat Debian post and pre scripts
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.
This commit is contained in:
committed by
Daniel Black
parent
fe89df4268
commit
7cbb45d1d4
2
debian/mariadb-server-10.6.postinst
vendored
2
debian/mariadb-server-10.6.postinst
vendored
@@ -265,7 +265,7 @@ fi
|
|||||||
if [ -d /run/systemd/system ]; then
|
if [ -d /run/systemd/system ]; then
|
||||||
systemctl --system daemon-reload >/dev/null || true
|
systemctl --system daemon-reload >/dev/null || true
|
||||||
deb-systemd-invoke start mariadb.service >/dev/null || true
|
deb-systemd-invoke start mariadb.service >/dev/null || true
|
||||||
# Modified dh_installinit snippet to only run with sysvinit
|
# Modified dh_installinit snippet to only run with sysvinit
|
||||||
elif [ -x "/etc/init.d/mariadb" ]; then
|
elif [ -x "/etc/init.d/mariadb" ]; then
|
||||||
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
|
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
|
||||||
invoke-rc.d mariadb start || exit $?
|
invoke-rc.d mariadb start || exit $?
|
||||||
|
2
debian/mariadb-server-10.6.prerm
vendored
2
debian/mariadb-server-10.6.prerm
vendored
@@ -6,7 +6,7 @@ set -e
|
|||||||
# Modified dh_systemd_start snippet that's not added automatically
|
# Modified dh_systemd_start snippet that's not added automatically
|
||||||
if [ -d /run/systemd/system ]; then
|
if [ -d /run/systemd/system ]; then
|
||||||
deb-systemd-invoke stop mariadb.service >/dev/null
|
deb-systemd-invoke stop mariadb.service >/dev/null
|
||||||
# Modified dh_installinit snippet to only run with sysvinit
|
# Modified dh_installinit snippet to only run with sysvinit
|
||||||
elif [ -x "/etc/init.d/mariadb" ]; then
|
elif [ -x "/etc/init.d/mariadb" ]; then
|
||||||
invoke-rc.d mariadb stop || exit $?
|
invoke-rc.d mariadb stop || exit $?
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user