mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user