summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--INSTALL5
1 files changed, 5 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 81f3f0b974a..154a28dbc70 100644
--- a/INSTALL
+++ b/INSTALL
@@ -2,6 +2,11 @@ post_install() {
systemctl daemon-reload && systemctl enable -f --now mousemapper.service
}
+pre_upgrade() {
+ systemctl disable -f --now mousemapper.service || true
+ rm -rf /usr/bin/mousemapper.sh /usr/lib/systemd/system/mousemapper.service"
+}
+
pre_remove() {
systemctl daemon-reload && systemctl disable -f --now mousemapper.service
}