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
This commit is contained in:
Andreas Köhler 2006-09-12 07:34:34 +00:00
parent 84912e8343
commit 40f7922f47

View File

@ -740,6 +740,15 @@ function inst_gnucash() {
for A in *.la; do grep -v dependency_libs $A > tmp ; mv tmp $A; done for A in *.la; do grep -v dependency_libs $A > tmp ; mv tmp $A; done
qpopd 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 # Create a startup script that works without the msys shell
qpushd ${_GNUCASH_WFSDIR}/bin 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 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