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

post_upgrade() {
  if (( $(vercmp $2 8.0-3) < 0)); then
    systemctl --global enable pulseaudio.socket
  fi
}

pre_remove() {
  systemctl --global disable pulseaudio.socket
}