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