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

post_upgrade() {
  if (( $(vercmp $2 0.3.16-1) < 0)); then
    systemctl --global enable pipewire-pulse.socket
  fi
}

pre_remove() {
  systemctl --global disable pipewire-pulse.socket
}