# HG changeset patch # User Igor Sysoev # Date 1275424352 0 # Node ID 77188d7294028da18c9ea00a3221c963885f54b8 # Parent b9415935d95d5bd50fbad86210e1cb345329fef6 print default module temporary directory path in summary only if the module is enabled diff --git a/auto/summary b/auto/summary --- a/auto/summary +++ b/auto/summary @@ -97,8 +97,17 @@ fi cat << END nginx http access log file: "$NGX_HTTP_LOG_PATH" nginx http client request body temporary files: "$NGX_HTTP_CLIENT_TEMP_PATH" - nginx http proxy temporary files: "$NGX_HTTP_PROXY_TEMP_PATH" - nginx http fastcgi temporary files: "$NGX_HTTP_FASTCGI_TEMP_PATH" - nginx http uwsgi temporary files: "$NGX_HTTP_UWSGI_TEMP_PATH" +END + +if [ $HTTP_PROXY = YES ]; then + echo " nginx http proxy temporary files: \"$NGX_HTTP_PROXY_TEMP_PATH\"" +fi -END +if [ $HTTP_FASTCGI = YES ]; then + echo " nginx http fastcgi temporary files: \"$NGX_HTTP_FASTCGI_TEMP_PATH\"" +fi + +if [ $HTTP_UWSGI = YES ]; then + echo " nginx http uwsgi temporary files: \"$NGX_HTTP_UWSGI_TEMP_PATH\"" +fi +