summaryrefslogtreecommitdiff
path: root/extra/pulseaudio/pulseaudio.install
blob: 67a34675911ffa78d18be32517cd8f214716a10b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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: