Also, simplified the output method by using `cat >&2 <<EOF ...` instead of multiple lines of `echo >&2 '...'`.
Signed-off-by: Andrew Page <admwiggin@gmail.com>
| ... | ... |
@@ -201,12 +201,14 @@ case "$lsb_dist" in |
| 201 | 201 |
;; |
| 202 | 202 |
esac |
| 203 | 203 |
|
| 204 |
-echo >&2 |
|
| 205 |
-echo >&2 ' Either your platform is not easily detectable, is not supported by this' |
|
| 206 |
-echo >&2 ' installer script (yet - PRs welcome!), or does not yet have a package for' |
|
| 207 |
-echo >&2 ' Docker. Please visit the following URL for more detailed installation' |
|
| 208 |
-echo >&2 ' instructions:' |
|
| 209 |
-echo >&2 |
|
| 210 |
-echo >&2 ' http://docs.docker.io/en/latest/installation/' |
|
| 211 |
-echo >&2 |
|
| 204 |
+cat >&2 <<'EOF' |
|
| 205 |
+ |
|
| 206 |
+ Either your platform is not easily detectable, is not supported by this |
|
| 207 |
+ installer script (yet - PRs welcome! [hack/install.sh]), or does not yet have |
|
| 208 |
+ a package for Docker. Please visit the following URL for more detailed |
|
| 209 |
+ installation instructions: |
|
| 210 |
+ |
|
| 211 |
+ http://docs.docker.io/en/latest/installation/ |
|
| 212 |
+ |
|
| 213 |
+EOF |
|
| 212 | 214 |
exit 1 |