gnucash-on-windows master: Update installer script for restructured scheme files

Geert Janssens gjanssens at code.gnucash.org
Tue Jun 18 09:17:56 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash-on-windows/commit/86dcf63f (commit)
	from  https://github.com/Gnucash/gnucash-on-windows/commit/85fe534c (commit)



commit 86dcf63f350875b96e7d093ffd3b9975037cfeee
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Mon Jun 17 22:58:54 2019 +0200

    Update installer script for restructured scheme files
    
    lib/gnucash/scm is used for gnucash 3.x
    lib/guile/2.2/site/ is the new location starting with gnucah 4.x
    
    As the same build scripts are used for both series, make the
    old path optional. Note this may require a clean build for
    master to get right.

diff --git a/inno_setup/gnucash-mingw64.iss b/inno_setup/gnucash-mingw64.iss
index eb8a891..e4cdff1 100644
--- a/inno_setup/gnucash-mingw64.iss
+++ b/inno_setup/gnucash-mingw64.iss
@@ -67,8 +67,9 @@ Source: "@INST_DIR@\etc\@PACKAGE@\environment"; DestDir: "{app}\etc\@PACKAGE@";
 ; Note: The above AfterInstall function will adapt the
 ; environment config file on-the-fly by the Pascal script below.
 Source: "@INST_DIR@\lib\*"; DestDir: "{app}\lib"; Flags: recursesubdirs; Components: main
-Source: "@INST_DIR@\lib\gnucash\scm\ccache\2.2\*"; DestDir: "{app}\lib\gnucash\scm\ccache\2.2"; Flags: recursesubdirs; Components: main
-Source: "@INST_DIR@\lib\guile\2.2\ccache\*"; DestDir: "{app}\lib\guile\2.2\ccache"; Flags: recursesubdirs; Components: main
+; Deprecated installation location for gnucash guile scripts. Can be removed after we're done with gnucash 3.x
+Source: "@INST_DIR@\lib\gnucash\scm\ccache\2.2\*"; DestDir: "{app}\lib\gnucash\scm\ccache\2.2"; Flags: recursesubdirs skipifsourcedoesntexist; Components: main
+Source: "@INST_DIR@\lib\guile\2.2\*"; DestDir: "{app}\lib\guile\2.2"; Flags: recursesubdirs; Components: main
 Source: "@INST_DIR@\lib\dbd\*.dll"; DestDir: "{app}\lib"; Components: main
 Source: "@INST_DIR@\lib\aqbanking\*"; DestDir: "{app}\lib\aqbanking"; Excludes: "*.dll.a"; Flags: recursesubdirs; Components: main
 Source: "@INST_DIR@\lib\gwenhywfar\*"; DestDir: "{app}\lib\gwenhywfar"; Excludes: "*.dll.a"; Flags: recursesubdirs; Components: main



Summary of changes:
 inno_setup/gnucash-mingw64.iss | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)



More information about the gnucash-changes mailing list