diff options
author | Cédric Schieli | 2020-03-01 13:41:54 +0100 |
---|---|---|
committer | Cédric Schieli | 2020-03-01 13:41:54 +0100 |
commit | 1c2d8da38376e10aa91f746ccbced55ae24a8da2 (patch) | |
tree | e3cb44891ce881861580e2d530abb9ddc5df0ecc /pulseaudio.install | |
parent | bb46b392020d15b7079211cfbc86aa8efe61f473 (diff) | |
download | aur-1c2d8da38376e10aa91f746ccbced55ae24a8da2.tar.gz |
Reinitialize from upstream (pulseaudio-13.0-3)
Diffstat (limited to 'pulseaudio.install')
-rw-r--r-- | pulseaudio.install | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pulseaudio.install b/pulseaudio.install new file mode 100644 index 000000000000..f6f8478d05c9 --- /dev/null +++ b/pulseaudio.install @@ -0,0 +1,14 @@ +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 +} |