PKGBUILDs/extra/pulseaudio/pulseaudio.install
2016-02-27 00:35:44 +00:00

15 lines
271 B
Plaintext

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
}