Skip to content

Commit

Permalink
rpm: move pulseaudio-related install scripts to pulseaudio-qubes pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
marmarek committed Jun 1, 2017
1 parent eebfdfc commit 8486347
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rpm_spec/gui-agent.spec
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ else
chkconfig qubes-gui-agent on
fi

%post -n pulseaudio-qubes

sed -i '/^autospawn/d' /etc/pulse/client.conf
echo autospawn=no >> /etc/pulse/client.conf

Expand All @@ -122,7 +124,7 @@ fi
%posttrans
/usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :

%triggerin -- pulseaudio-libs
%triggerin -n pulseaudio-qubes -- pulseaudio-libs

sed -i '/^autospawn/d' /etc/pulse/client.conf
echo autospawn=no >> /etc/pulse/client.conf
Expand Down

0 comments on commit 8486347

Please sign in to comment.