summaryrefslogtreecommitdiff
path: root/source/l/pulseaudio/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/pulseaudio/doinst.sh')
-rw-r--r--source/l/pulseaudio/doinst.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/l/pulseaudio/doinst.sh b/source/l/pulseaudio/doinst.sh
index 9b27c9f9..2c073700 100644
--- a/source/l/pulseaudio/doinst.sh
+++ b/source/l/pulseaudio/doinst.sh
@@ -34,3 +34,10 @@ chroot . /usr/sbin/usermod -a -G audio pulse 1> /dev/null 2> /dev/null
# Make sure the root user is in the audio group:
chroot . /usr/sbin/usermod -a -G audio root 1> /dev/null 2> /dev/null
+# Recompile glib schemas:
+if [ -e usr/share/glib-2.0/schemas ]; then
+ if [ -x /usr/bin/glib-compile-schemas ]; then
+ /usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas >/dev/null 2>&1
+ fi
+fi
+