[packages/pulseaudio] - post{,un} scripts added to the gsettings subpackage
bszx
bszx at pld-linux.org
Sun Sep 27 11:49:11 CEST 2020
commit a601ca28a6492f1efd8906dc6be703f6983e72e3
Author: Bartek Szady <bszx at bszx.eu>
Date: Sun Sep 27 11:30:43 2020 +0200
- post{,un} scripts added to the gsettings subpackage
pulseaudio.spec | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/pulseaudio.spec b/pulseaudio.spec
index 2f00d55..5274cd8 100644
--- a/pulseaudio.spec
+++ b/pulseaudio.spec
@@ -482,6 +482,14 @@ if [ -f %{_sysconfdir}/polypaudio/client.conf.rpmsave ]; then
mv -f %{_sysconfdir}/polypaudio/client.conf.rpmsave %{_sysconfdir}/pulse/client.conf
fi
+%post gsettings
+%glib_compile_schemas
+
+%postun gsettings
+if [ "$1" = "0" ]; then
+ %glib_compile_schemas
+fi
+
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc LICENSE NEWS README
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pulseaudio.git/commitdiff/a601ca28a6492f1efd8906dc6be703f6983e72e3
More information about the pld-cvs-commit
mailing list