PKGBUILDs/extra/pipewire/pipewire-pulse.install

15 lines
286 B
Text
Raw Normal View History

2020-12-03 02:27:41 +00:00
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
}