Unless there is a really good reason for the location, consider:
https://github.com/ferventcoder/nugetpackages/blob/master/chocolatey/tools/chocolateyInstall/chocolatey.ps1#L142
Great suggestion. The latest build now detects the PreDeploy/Deploy/PostDeploy.ps1 files under any subdirectory.