get.porter.sh/porter@v1.3.0/tests/integration/testdata/bundles/bundle-with-failing-install/helpers.sh (about) 1 #!/usr/bin/env bash 2 set -euo pipefail 3 4 install() { 5 echo Hello World 6 exit 1 7 } 8 9 upgrade() { 10 echo World 2.0 11 } 12 13 uninstall() { 14 echo Goodbye World 15 } 16 17 # Call the requested function and pass the arguments as-is 18 "$@"