summaryrefslogtreecommitdiff
path: root/extra/pulseaudio/pulseaudio.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pulseaudio/pulseaudio.install')
-rwxr-xr-xextra/pulseaudio/pulseaudio.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/pulseaudio/pulseaudio.install b/extra/pulseaudio/pulseaudio.install
index 1dc4cefb3..0e599b856 100755
--- a/extra/pulseaudio/pulseaudio.install
+++ b/extra/pulseaudio/pulseaudio.install
@@ -1,4 +1,9 @@
+_common() {
+ setcap cap_net_raw=ep usr/lib/pulse/proximity-helper 2>/dev/null || chmod +s usr/lib/pulse/proximity-helper
+}
+
post_install() {
+ _common
cat << MES
>>> See the wiki at http://wiki.archlinux.org/index.php/PulseAudio for details
on configuring your system for PulseAudio.
@@ -8,6 +13,7 @@ MES
}
post_upgrade() {
+ _common
cat << MES
>>> If you have per-user copies of configuration files (such as client.conf,
daemon.conf or default.pa) in ~/.pulse/, make sure you keep them in sync