diff options
Diffstat (limited to 'functions/echo.sh')
-rwxr-xr-x | functions/echo.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/functions/echo.sh b/functions/echo.sh index 963e12503..5c641d2b1 100755 --- a/functions/echo.sh +++ b/functions/echo.sh @@ -52,3 +52,19 @@ Echo_warning () echo "W: ${STRING}" } + +Echo_breakage () +{ + Echo_message "If the following stage fails, the most likely cause of the problem is with" + + case "${LH_DISTRIBUTION}" in + sid|unstable) + Echo_message "your mirror configuration, a caching proxy or the sid distribution." + ;; + *) + Echo_message "your mirror configuration or a caching proxy." + ;; + esac + + Echo_message ${@} +} |