move the key generation process , just before sources files get deployed to their location by post install script.
escape any postgres initialisation process if there is postgres data directory , as if it exist we know we already have the cfengines postgres on the machine. fix for #5843
carrying out all the initialisation task on first install of the package, so it would not trigger  undesired affect like wiping out users data on upgrade install as described in #6449
, also the right approach would be to remove those drop statements from the sql files in mp repo.
Merge pull request #9 from sudhirpandey/upgradefix

Upgradefix