[GNC] Upgrade Path from version 2.6.16 on MacOS High Sierra (10.13.6) and beyond

Geert Janssens geert.gnucash at kobaltwit.be
Tue Jan 29 10:55:27 EST 2019


Op dinsdag 29 januari 2019 16:28:30 CET schreef John Ralls:
> > On Jan 29, 2019, at 6:28 AM, Adrien Monteleone 
<adrien.monteleone at lusfiber.net> wrote:
> >> I'm curious: what are the names of the two directories that were created
> >> ? Or in other words, how are those names decided on MacOS ?
> >> 
> >> As far as I know on linux and Windows the names are hardcoded to use the
> >> compile time application name unless overridden by setting GNC_DATA_DIR
> >> and
> >> GNC_CONFIG_DIR environment variables. The latter (GNC_CONFIG_DIR) is only
> >> introduces in GnuCash 3.4.
> >> 
> >> Geert
> > 
> > The names matched the app name. (not including the .app extension of
> > course)
> Actually GNC_CONFIG_DIR replaces GNC_DOT_DIR in 2.6 and earlier.
> 
More precisely the combination of GNC_DATA_DIR and GNC_CONFIG_DIR replace 
GNC_DOT_DIR in 2.6 and earlier. On MacOS and Windows they point at the same 
directory by default. But if you want to move this directory someplace else 
you should set both GNC_DATA_DIR and GNC_CONFIG_DIR (as of 3.4) or GNC_DOT_DIR 
(for 2.6 and earlier).

The versions 3.0-3.3 are somewhat awkward in this respect as these versions 
only know of GNC_DATA_DIR and GNC_CONFIG_DIR is more or less hardcoded to the 
default.

By the way all these path specifications are outlined in
https://wiki.gnucash.org/wiki/Configuration_Locations

Regards,

Geert




More information about the gnucash-user mailing list