summarylogtreecommitdiffstats
path: root/pipewire.install
blob: 416e5ed97a1df2f9b7f5a78e48c510ea3044933e (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.socket
}

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

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