summarylogtreecommitdiffstats
path: root/speech-dispatcher.install
blob: 8fdfcb5ae45d82d068907ca9ae4c9daa2fcf963b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
post_install() {
  # Enable socket by default
  systemctl --global enable speech-dispatcher.socket
}

post_upgrade() {
  if (( $(vercmp $2 0.12.0.r50.g488f5d97-1) < 0)); then
    systemctl --global enable speech-dispatcher.socket
  fi
}

pre_remove() {
  systemctl --global disable speech-dispatcher.socket
}