summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordszryan2019-09-22 20:56:04 +1000
committerdszryan2019-09-22 20:56:04 +1000
commit1431638fb40bd7ae83c20ad887a2897ad12d54dd (patch)
tree0c5650b884304b2a627d118d33f1f90a323ec784
parent0d470fdca46bb6ed74a0fa449dd9eb4d3931a6f9 (diff)
downloadaur-1431638fb40bd7ae83c20ad887a2897ad12d54dd.tar.gz
added fix for upgrade
-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
}