Fix App tls has not been deployed error

This commit is contained in:
Justin Clark
2015-11-13 16:40:22 -08:00
parent 6af8811912
commit ef7d49bafc
3 changed files with 15 additions and 16 deletions

View File

@@ -9,6 +9,11 @@ has_tty() {
fi
}
dokku_apps() {
local INSTALLED_APPS=$(find $DOKKU_ROOT -maxdepth 1 -mindepth 1 -type d ! -name 'tls' ! -name '.*' -printf "%f\n") || (dokku_log_fail "You haven't deployed any applications yet")
[[ $INSTALLED_APPS ]] && echo $INSTALLED_APPS
}
dokku_log_info1() {
echo "-----> $*"
}