summaryrefslogtreecommitdiff
path: root/system/brasero/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/brasero/doinst.sh')
-rw-r--r--system/brasero/doinst.sh15
1 files changed, 5 insertions, 10 deletions
diff --git a/system/brasero/doinst.sh b/system/brasero/doinst.sh
index af5eef685b..ed2846092a 100644
--- a/system/brasero/doinst.sh
+++ b/system/brasero/doinst.sh
@@ -1,13 +1,3 @@
-schema_install() {
- SCHEMA="$1"
- GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults" \
- chroot . gconftool-2 --makefile-install-rule \
- /etc/gconf/schemas/$SCHEMA \
- 1>/dev/null
-}
-
-schema_install brasero.schemas
-
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
@@ -22,3 +12,8 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
fi
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