Win32: set XDG_DATA_DIRS when running the Windows installer

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23313 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens
2013-10-22 16:30:02 +00:00
parent e39e3a2c68
commit a0f4d98543
+3
View File
@@ -374,6 +374,9 @@ begin
{ Adapt GNC_DBD_DIR parameter }
if (Pos('GNC_DBD_DIR', EnvStrList[iLineCounter]) > 0) then
EnvStrList[iLineCounter] := 'GNC_DBD_DIR={GNC_HOME}/lib/dbd';
{ Adapt XDG_DATA_DIRS parameter }
if (Pos('XDG_DATA_DIRS', EnvStrList[iLineCounter]) > 0) then
EnvStrList[iLineCounter] := 'XDG_DATA_DIRS={GNC_HOME}/share;{XDG_DATA_DIRS};/usr/local/share;/usr/share';
end;
{ Save the final file }