From 5e2b6a3fa55cfbe7cc12c03db5d6c091e3d69720 Mon Sep 17 00:00:00 2001 From: Guilherme Salgado Date: Wed, 13 Oct 2010 11:51:36 -0300 Subject: Tell users to try a newer hwpack-install script when the format is not supported --- linaro-hwpack-install | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'linaro-hwpack-install') diff --git a/linaro-hwpack-install b/linaro-hwpack-install index 364fd97..ab0b308 100755 --- a/linaro-hwpack-install +++ b/linaro-hwpack-install @@ -85,7 +85,9 @@ for format in $SUPPORTED_FORMATS; do break fi done -[ $supported == "true" ] || die "Unsupported hwpack format: $hwpack_format" +[ $supported == "true" ] || \ + die "Unsupported hwpack format: $hwpack_format. "\ + "Try using a newer version of $(basename $0)." # Check the architecture of the hwpack matches that of the host system. HWPACK_ARCH=`grep ARCHITECTURE "${HWPACK_DIR}/metadata" | cut -d "=" -f2` -- cgit v1.2.3