You should have a Developer ID Installer identity from Apple in your Keychain. This is used to sign the package. If you don't have this identity the script will skip ...
Add a description, image, and links to the ghostscript-installation topic page so that developers can more easily learn about it.