mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
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:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user