summaryrefslogtreecommitdiff
path: root/extra/pulseaudio/pulseaudio.install
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/pulseaudio/pulseaudio.install
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/pulseaudio/pulseaudio.install')
-rwxr-xr-xextra/pulseaudio/pulseaudio.install26
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/pulseaudio/pulseaudio.install b/extra/pulseaudio/pulseaudio.install
new file mode 100755
index 000000000..67a346759
--- /dev/null
+++ b/extra/pulseaudio/pulseaudio.install
@@ -0,0 +1,26 @@
+post_install() {
+ cat << MES
+>>> See the wiki at http://wiki.archlinux.org/index.php/PulseAudio for details
+ on configuring your system for PulseAudio.
+
+>>> Make sure to install pulseaudio-alsa to configure ALSA for PulseAudio.
+
+>>> You might want to blacklist the "snd-pcm-oss" module in /etc/rc.conf to
+ keep ALSA's OSS emulation from interfering with ALSA or PulseAudio.
+MES
+}
+
+post_upgrade() {
+ # Delete old users and groups
+ # System-wide daemon not supported anymore
+ if (( $(vercmp $2 0.9.22) < 0 )); then
+ getent passwd pulse &>/dev/null && usr/sbin/userdel -f pulse
+ getent group pulse-access &>/dev/null && usr/sbin/groupdel pulse-access
+ getent group pulse-rt &>/dev/null && usr/sbin/groupdel pulse-rt
+ getent group pulse &>/dev/null && usr/sbin/groupdel pulse
+ fi
+
+ true
+}
+
+# vim:set ts=2 sw=2 et: