Add pre-install hook that raises an error in case keeppreviousinstall
(used for rebuilds) is set but the installation directory still contains files
#904
Loading