Add pre-install and pre-update check
Merge pull request #401 from maxailloud/master

Add pre-install and pre-update check