diff options
author | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-02 13:05:03 +0100 |
---|---|---|
committer | Lyndon Brown <jnqnfe@gmail.com> | 2020-05-02 13:06:17 +0100 |
commit | 5f318c5a444ef05bdf79b1f7640294c7423fd10e (patch) | |
tree | d03b275885c53762760bd0c2a6b0df0d42802cce /functions | |
parent | d7d0798e4681bb7f5c1a1836df854a72d2772113 (diff) | |
download | vyos-live-build-5f318c5a444ef05bdf79b1f7640294c7423fd10e.tar.gz vyos-live-build-5f318c5a444ef05bdf79b1f7640294c7423fd10e.zip |
tidy up Echo_breakage()
- it's only used by the debootstrap script after alternatives were dropped
long ago, so let's move it, avoiding it being loaded for everything
else.
- there's no need to pass printing another message through it.
- there's little point in making the sid distinction if you happen to
decide to build sid, it's a given that it's less stable than stable.
really, is there any need for this at all?
Gbp-Dch: Ignore
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/echo.sh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/functions/echo.sh b/functions/echo.sh index 48cf3cf8e..a46f036a6 100755 --- a/functions/echo.sh +++ b/functions/echo.sh @@ -88,17 +88,3 @@ Echo_file () echo "${1}: ${LINE}" >&3 done < "${1}" } - -Echo_breakage () -{ - case "${LB_PARENT_DISTRIBUTION_BINARY}" in - sid) - Echo_message "If the following stage fails, the most likely cause of the problem is with your mirror configuration, a caching proxy or the sid distribution." - ;; - *) - Echo_message "If the following stage fails, the most likely cause of the problem is with your mirror configuration or a caching proxy." - ;; - esac - - Echo_message "${@}" -} |