1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00
Files
mariadb/debian/mariadb-plugin-mroonga.prerm
Tuukka Pasanen 01e9e3955a MDEV-31242: Make sure every Debian post/pre script is using bash
Make sure that every post and pre script are using bash
and have set -e in next to shebang.

Command set -e makes sure that if script fails in
one command it will fail whole script.
2023-06-19 10:54:51 +01:00

11 lines
221 B
Bash

#!/bin/bash
set -e
# Uninstall Mroonga
mariadb --defaults-file=/etc/mysql/debian.cnf < /usr/share/mariadb/mroonga/uninstall.sql || true
# Always exit with success instead of leaving dpkg in a broken state
#DEBHELPER#