This problem is definitly caused by a set MOZILLA_FIVE_HOME env variable.
I think it would be very apropriate to change the script in a way that it does not check the MOZILLA_FIVE_HOME env-variable or at least calls some "unset MOZILLA_FIVE_HOME" as first command.
Even though the later could have site-effects when kompozer ist called from the command line before another app is called from the same command-line that need MOZILLA_FIVE_HOME.
This problem is definitly caused by a set MOZILLA_FIVE_HOME env variable.
I think it would be very apropriate to change the script in a way that it does not check the MOZILLA_FIVE_HOME env-variable or at least calls some "unset MOZILLA_FIVE_HOME" as first command.
Even though the later could have site-effects when kompozer ist called from the command line before another app is called from the same command-line that need MOZILLA_FIVE_HOME.