if [ -x usr/bin/gconftool-2 ]; then
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_dialog_business_common.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_dialog_commodities.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_dialog_common.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_dialog_prices.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_dialog_print_checks.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_dialog_reconcile.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_dialog_scheduled_transctions.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_dialog_totd.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_general.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_history.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_import_generic_matcher.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_import_qif.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_warnings.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_window_pages_account_tree.schemas >/dev/null 2>&1
GCONF_CONFIG_SOURCE="xml::etc/gconf/gconf.xml.defaults"    usr/bin/gconftool-2 --makefile-install-rule    etc/gconf/schemas/apps_gnucash_window_pages_register.schemas >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
  /usr/bin/update-mime-database /usr/share/mime &> /dev/null
fi

if [ -x /usr/bin/update-desktop-database ]; then
  /usr/bin/update-desktop-database 1> /dev/null &> /dev/null
fi

if [ -x /usr/bin/gtk-update-icon-cache ]; then
  /usr/bin/gtk-update-icon-cache  -f -q /usr/share/icons/hicolor &> /dev/null
fi

( cd usr/lib64 ; rm -rf libgnc-business-ledger.so.0 )
( cd usr/lib64 ; ln -sf libgnc-business-ledger.so.0.0.0 libgnc-business-ledger.so.0 )
( cd usr/lib64 ; rm -rf libgnc-core-utils.so )
( cd usr/lib64 ; ln -sf libgnc-core-utils.so.0.0.0 libgnc-core-utils.so )
( cd usr/lib64 ; rm -rf libgnc-backend-sql.so.0 )
( cd usr/lib64 ; ln -sf libgnc-backend-sql.so.0.0.0 libgnc-backend-sql.so.0 )
( cd usr/lib64 ; rm -rf libgnc-business-ledger.so )
( cd usr/lib64 ; ln -sf libgnc-business-ledger.so.0.0.0 libgnc-business-ledger.so )
( cd usr/lib64 ; rm -rf libgnc-backend-xml-utils.so )
( cd usr/lib64 ; ln -sf libgnc-backend-xml-utils.so.0.0.0 libgnc-backend-xml-utils.so )
( cd usr/lib64 ; rm -rf libgnc-module.so.0 )
( cd usr/lib64 ; ln -sf libgnc-module.so.0.0.0 libgnc-module.so.0 )
( cd usr/lib64 ; rm -rf libgnc-core-utils.so.0 )
( cd usr/lib64 ; ln -sf libgnc-core-utils.so.0.0.0 libgnc-core-utils.so.0 )
( cd usr/lib64 ; rm -rf libgnc-gnome.so.0 )
( cd usr/lib64 ; ln -sf libgnc-gnome.so.0.0.0 libgnc-gnome.so.0 )
( cd usr/lib64/gnucash ; rm -rf libgncmod-qif.so.0 )
( cd usr/lib64/gnucash ; ln -sf libgncmod-qif.so.0.0.0 libgncmod-qif.so.0 )
( cd usr/lib64/gnucash ; rm -rf libgncmod-qif.so )
( cd usr/lib64/gnucash ; ln -sf libgncmod-qif.so.0.0.0 libgncmod-qif.so )
( cd usr/lib64 ; rm -rf libgnc-gnome.so )
( cd usr/lib64 ; ln -sf libgnc-gnome.so.0.0.0 libgnc-gnome.so )
( cd usr/lib64 ; rm -rf libgnc-module.so )
( cd usr/lib64 ; ln -sf libgnc-module.so.0.0.0 libgnc-module.so )
( cd usr/lib64 ; rm -rf libgnc-backend-sql.so )
( cd usr/lib64 ; ln -sf libgnc-backend-sql.so.0.0.0 libgnc-backend-sql.so )
( cd usr/lib64 ; rm -rf libgnc-qof.so.1 )
( cd usr/lib64 ; ln -sf libgnc-qof.so.1.0.4 libgnc-qof.so.1 )
( cd usr/lib64 ; rm -rf libgnc-qof.so )
( cd usr/lib64 ; ln -sf libgnc-qof.so.1.0.4 libgnc-qof.so )
( cd usr/lib64 ; rm -rf libgnc-backend-xml-utils.so.0 )
( cd usr/lib64 ; ln -sf libgnc-backend-xml-utils.so.0.0.0 libgnc-backend-xml-utils.so.0 )
( cd usr/share/gnucash ; rm -rf gnome )
( cd usr/share/gnucash ; ln -sf ../gnome gnome )
