diff options
Diffstat (limited to 'system/gcdemu/doinst.sh')
-rw-r--r-- | system/gcdemu/doinst.sh | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/system/gcdemu/doinst.sh b/system/gcdemu/doinst.sh index 85ee730b65da4..6fa145a19fb0a 100644 --- a/system/gcdemu/doinst.sh +++ b/system/gcdemu/doinst.sh @@ -1,13 +1,9 @@ -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 gcdemu.schemas - if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1 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 |