I have this simple composer.json file. When I run "composer install" I expect it to run post-install-cmd script but nothing happens. If I change it to post-update-cmd it works as expected. Am i missing something? Doesn't it have to run post-install-cmd instead of post-update-cmd?
{
"name": "vendorName/packageName",
"description": "Some description",
"type": "library",
"require": {
"psr/log": "^1.1"
},
"scripts": {
"post-install-cmd": "$SHELL script.sh"
}
}