fix a config nuking bug under linux using links for configfiles
try to fix a Clan error
grass code cleanup