summaryrefslogtreecommitdiffstats
path: root/source/l/gtk+3/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/gtk+3/doinst.sh')
-rw-r--r--source/l/gtk+3/doinst.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/l/gtk+3/doinst.sh b/source/l/gtk+3/doinst.sh
index da33a4e8d..55dae32d5 100644
--- a/source/l/gtk+3/doinst.sh
+++ b/source/l/gtk+3/doinst.sh
@@ -21,11 +21,16 @@ rm -f etc/gtk-3.0/gtkrc.new
chroot . rm -f /usr/share/icons/*/icon-theme.cache 1> /dev/null 2> /dev/null
-# Run this if we are on an installed system. Otherwise it will be
+# Run these if we are on an installed system. Otherwise they will be
# handled on first boot.
if [ -x /usr/bin/update-gtk-immodules-3.0 ]; then
/usr/bin/update-gtk-immodules-3.0
fi
+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
# In case this is the first run installing the standalone gdk-pixbuf,
# we will run this a second time to fix machines that will not reboot.