From 05991384a6f7ac9bef6d9d04ab165cb392dcfd41 Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Sat, 27 Jun 2015 09:51:59 +0300 Subject: [PATCH] Added missing removal of systemd files to the postinstall script. --- etc/postrm.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/postrm.in b/etc/postrm.in index 65c0f7116..7488ebe46 100755 --- a/etc/postrm.in +++ b/etc/postrm.in @@ -3,7 +3,9 @@ if [ "$1" -eq 0 ] then rm -f /etc/init.d/maxscale rm -f /etc/ld.so.conf.d/maxscale.conf + rm -f /usr/lib/systemd/system/maxscale.service else + # Copy and rename config from old location if [ -f "/usr/local/mariadb-maxscale/etc/MaxScale.cnf" ] then cp "/usr/local/mariadb-maxscale/etc/MaxScale.cnf" "/etc/maxscale.cnf"