summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordszryan2019-09-22 21:08:54 +1000
committerdszryan2019-09-22 21:08:54 +1000
commit7d1eb06bc70e8641112085bf0ce51c7673225b1f (patch)
tree284941bcbe78bd63b09b49218b0da5aa19e01a4c
parent1431638fb40bd7ae83c20ad887a2897ad12d54dd (diff)
downloadaur-7d1eb06bc70e8641112085bf0ce51c7673225b1f.tar.gz
added clean pre_install step
-rw-r--r--INSTALL5
1 files changed, 5 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 154a28dbc70..960f4a6836b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,3 +1,8 @@
+pre_install() {
+ systemctl disable -f --now mousemapper.service || true
+ rm -rf /usr/bin/mousemapper.sh /usr/lib/systemd/system/mousemapper.service"
+}
+
post_install() {
systemctl daemon-reload && systemctl enable -f --now mousemapper.service
}