PKGBUILDs/extra/pulseaudio/pulseaudio.install

15 lines
271 B
Text
Raw Normal View History

2016-02-27 00:35:44 +00:00
post_install() {
# Enable socket by default
systemctl --global enable pulseaudio.socket
}
2015-05-15 04:50:32 +00:00
post_upgrade() {
2016-02-27 00:35:44 +00:00
if (( $(vercmp $2 8.0-3) < 0)); then
systemctl --global enable pulseaudio.socket
fi
}
pre_remove() {
systemctl --global disable pulseaudio.socket
2015-05-15 04:50:32 +00:00
}