diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2020-03-12 10:07:33 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2020-03-12 10:07:33 +0100 |
commit | e3047a32128908fba03e498e372535c52ade7bc4 (patch) | |
tree | ef6d91b38e777c94115a84549ea205518de7e1e0 | |
parent | 3b0436d828b38b05ccc1ff89878fdcfa975f91a5 (diff) |
#964: Uninstall script removes MySQL/MariaDB template file.
-rwxr-xr-x | installer/opengnsys_uninstall.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/installer/opengnsys_uninstall.sh b/installer/opengnsys_uninstall.sh index 264ef71e..e0df8f8a 100755 --- a/installer/opengnsys_uninstall.sh +++ b/installer/opengnsys_uninstall.sh @@ -100,6 +100,8 @@ EOT # Borrar el fichero temporal de credenciales. rm -f $MYCNF fi +# Eliminar plantilla MySQL. +rm -f /etc/{mysql/mysql.conf.d,my.conf.d}/mysqld-og.cnf # Quitar configuración específica de Apache. [ -n "$(which a2dissite 2>/dev/null)" ] && a2dissite opengnsys rm -f /etc/{apache2/{sites-available,sites-enabled},httpd/conf.d}/opengnsys* |