aboutsummaryrefslogtreecommitdiff
path: root/linaro-hwpack-install
diff options
context:
space:
mode:
authorGuilherme Salgado <salgado@canonical.com>2010-10-13 11:51:36 -0300
committerGuilherme Salgado <salgado@canonical.com>2010-10-13 11:51:36 -0300
commit5e2b6a3fa55cfbe7cc12c03db5d6c091e3d69720 (patch)
treee01da05a90071625e2c13fdc69d047bc068a6bc2 /linaro-hwpack-install
parentee37026081f25dd459b3bea3cedbe1faee8ea3ba (diff)
Tell users to try a newer hwpack-install script when the format is not supported
Diffstat (limited to 'linaro-hwpack-install')
-rwxr-xr-xlinaro-hwpack-install4
1 files changed, 3 insertions, 1 deletions
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`