force removal of app directory on post-delete

This commit is contained in:
Michael Hobbs
2015-06-15 09:25:26 -07:00
committed by Jose Diaz-Gonzalez
parent 5d8359c12e
commit 6d70751cfc

View File

@@ -3,7 +3,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_PATH/common/functions"
APP="$1"; IMAGE_REPO=$(get_app_image_repo $APP)
[[ -n $APP ]] && rm -r "$DOKKU_ROOT/$APP" > /dev/null
[[ -n $APP ]] && rm -rf "$DOKKU_ROOT/$APP" > /dev/null
# remove all application containers & images
# shellcheck disable=SC2046