Rea­son for the env pass­ing prob­lem in CUPS

Today I had the time to have a look at the prob­lem I have to pass the val­ue of the GD_LIB vari­able from CUPS to ghost­script: CUPS is set­ting this vari­able on its own and thus over­rid­ing my setting. 🙁

It seems CUPS is not check­ing if I have my own GS_LIB vari­able and adding its own path to the already set one. That is bad.