diff options
Diffstat (limited to 'test/data/app-a/hooks/pre-install')
-rwxr-xr-x | test/data/app-a/hooks/pre-install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/data/app-a/hooks/pre-install b/test/data/app-a/hooks/pre-install new file mode 100755 index 0000000..4b95ac4 --- /dev/null +++ b/test/data/app-a/hooks/pre-install @@ -0,0 +1,11 @@ +#!/bin/bash -e + +set -u + +echo "pre-install" + +if [[ -e $APP_HOME/fail-pre-install ]] +then + echo "Simulating failure." + exit 1 +fi |