[arch-commits] Commit in pulseaudio/trunk (pulseaudio.install)

Jan Steffens heftig at archlinux.org
Tue May 22 21:01:29 UTC 2012


    Date: Tuesday, May 22, 2012 @ 17:01:29
  Author: heftig
Revision: 159383

Add upgrade message

Modified:
  pulseaudio/trunk/pulseaudio.install

--------------------+
 pulseaudio.install |   16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

Modified: pulseaudio.install
===================================================================
--- pulseaudio.install	2012-05-22 20:52:55 UTC (rev 159382)
+++ pulseaudio.install	2012-05-22 21:01:29 UTC (rev 159383)
@@ -8,16 +8,12 @@
 }
 
 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
+  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
+    with changes to the packaged files in /etc/pulse/. Otherwise, PulseAudio
+    may refuse to start due to configuration errors.
+MES
 }
 
 # vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list