Do not install pulseaudio.socket by systemctl 02/116602/1
authorSeungbae Shin <seungbae.shin@samsung.com>
Mon, 27 Feb 2017 07:24:27 +0000 (16:24 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 27 Feb 2017 07:24:42 +0000 (16:24 +0900)
[Version] 5.0-110
[Profile] Common
[Issue Type] Request

Change-Id: I45af41ab38c3d5864d7d768f3aa0d6cb96700a1f

packaging/pulseaudio.spec

index 3e1275a..ae825c4 100644 (file)
@@ -11,7 +11,7 @@
 Name:             pulseaudio
 Summary:          Improved Linux sound server
 Version:          5.0
-Release:          109
+Release:          110
 Group:            Multimedia/Audio
 License:          LGPL-2.1+
 URL:              http://pulseaudio.org
@@ -318,17 +318,8 @@ rm -f %{buildroot}%{_libdir}/pulseaudio/*.la
 
 %post
 /sbin/ldconfig
-if [ $1 -eq 1 ] ; then
-# Initial installation
-systemctl --user --global preset pulseaudio.socket >/dev/null 2>&1 || :
-fi
 
 %preun
-if [ $1 -eq 0 ] ; then
-# Package removal, not upgrade
-systemctl --no-reload --user --global disable pulseaudio.socket > /dev/null 2>&1 || :
-
-fi
 
 %postun -p /sbin/ldconfig