Adding pre-install and pre-update command for composer to check is operation file is empty or not, to avoid launching composer command if an operation file is not empty