summarylogtreecommitdiffstats
path: root/wayland-mouse-mapper-git.install
blob: c48e48146f5009125a12a615d2dd94a0ed6b5757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
post_install() {
  sudo systemctl daemon-reload
  sudo systemctl enable -f --now mousemapper.service
}

pre_upgrade() {
  sudo systemctl disable -f --now mousemapper.service 2>/dev/null || true
}

pre_remove() {
  sudo systemctl daemon-reload
  sudo systemctl disable -f --now mousemapper.service 2>/dev/null || true
}