games: dwarf-fortress: Initialize XDG_DATA_HOME if not set.
This adds the XDG_DATA_HOME
initialization if it appears to be undefined. This way one could escape malformed paths for the data folder of Dwarf Fortress.
Given that $HOME/.local/share
is the conventional value of XDG_DATA_HOME
, this change shouldn't cause any problem for most of users. Additionally, the variable gets reset after the end of wrapper-script. No shooting in the leg here, I believe :)
Closes: #38 (closed)