From 40f7922f4755ea83ea1a1c13c691271851ff34ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20K=C3=B6hler?= Date: Tue, 12 Sep 2006 07:34:34 +0000 Subject: [PATCH] install.sh: Install gconf schema files to ${GNUCASH_PREFIX}/etc/gconf/gconf.xml.defaults. I suppose this is what most distributions do as post-install step. If GnuCash and Gnome are not installed to the same prefix (standard), the gconf druid will pop up once GnuCash is started. GnuCash will automagically add the correct lines to ~/.gconf.path, shut down gconfd and load the default values, if you choose the default selections. The others seem unadvisable to me for windows, so another commit might hide the druid. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14834 57a11ea4-9604-0410-9ed3-97b8803252fd --- packaging/win32/install.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packaging/win32/install.sh b/packaging/win32/install.sh index 1ec33d8b95..b62c589b50 100644 --- a/packaging/win32/install.sh +++ b/packaging/win32/install.sh @@ -740,6 +740,15 @@ function inst_gnucash() { for A in *.la; do grep -v dependency_libs $A > tmp ; mv tmp $A; done qpopd + qpushd ${_GNUCASH_WFSDIR}/etc/gconf/schemas + for file in *.schemas; do + gconftool-2 \ + --config-source=xml:merged:${_GNUCASH_WFSDIR}/etc/gconf/gconf.xml.defaults \ + --install-schema-file $file + done + gconftool-2 --shutdown + qpopd + # Create a startup script that works without the msys shell qpushd ${_GNUCASH_WFSDIR}/bin echo "set PATH=${GNUCASH_DIR}\\bin;${GNUCASH_DIR}\\lib\\bin;${GOFFICE_DIR}\\bin;${LIBGSF_DIR}\\bin;${GWRAP_DIR}\\bin;${GNOME_DIR}\\bin;${LIBXML2_DIR}\\bin;${GUILE_DIR}\\bin;${REGEX_DIR}\\bin;${AUTOTOOLS_DIR}\\bin" > gnucash.bat