HPCC-9488 Better handling of changes to config files

When updating a previous installation from a new release that contains changes
to default/initial configuration files such as environment.conf or
environment.xml, update the user's configuration too if they had not made any
modifications from the previous default file.

If they HAVE made alterations, warn that changes in the default have not been
applied.

Remove the spurious additional call to init code called by the post-uninstall
script, which was interfering with this process.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
HPCC-9488 Better handling of changes to config files

Reinstate the spurious additional call to init code called by the
post-uninstall, and instead put in a mechanism to ensure that init code only
executes once.

This kludge is apparently necessary on earlier Ubuntu builds to work around a
dpkg bug.

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #4493 from richardkchapman/rpmnew

HPCC-9488 Better handling of changes to config files

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>