diff options
Diffstat (limited to 'multimedia/totem/doinst.sh')
-rw-r--r-- | multimedia/totem/doinst.sh | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/multimedia/totem/doinst.sh b/multimedia/totem/doinst.sh index bfea1750ed..e924bab47c 100644 --- a/multimedia/totem/doinst.sh +++ b/multimedia/totem/doinst.sh @@ -8,14 +8,9 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then fi fi -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 2>/dev/null -} +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 -schema_install totem.schemas -schema_install totem-handlers.schemas -schema_install totem-video-thumbnail.schemas |