diff options
author | dszryan | 2019-09-27 21:05:54 +1000 |
---|---|---|
committer | dszryan | 2019-09-27 21:05:54 +1000 |
commit | 753b97ae8c40101a6f19abe58bc6d5ade7e48b21 (patch) | |
tree | 2f728cb66c1975f10ea8ecca758ca5bacbf780ea /wayland-mouse-mapper-git.install | |
parent | ea2287f5d8f18cdc02b17127e54374c86562e033 (diff) | |
download | aur-753b97ae8c40101a6f19abe58bc6d5ade7e48b21.tar.gz |
updated install definition
Diffstat (limited to 'wayland-mouse-mapper-git.install')
-rw-r--r-- | wayland-mouse-mapper-git.install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/wayland-mouse-mapper-git.install b/wayland-mouse-mapper-git.install new file mode 100644 index 000000000000..28c3a5000905 --- /dev/null +++ b/wayland-mouse-mapper-git.install @@ -0,0 +1,13 @@ +post_install() { + systemctl daemon-reload + systemctl enable -f --now mousemapper.service +} + +pre_upgrade() { + systemctl disable -f --now mousemapper.service 2>/dev/null || true +} + +pre_remove() { + systemctl daemon-reload + systemctl disable -f --now mousemapper.service 2>/dev/null || true +} |