Commit 75b8f7b7 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Tim Gardner

UBUNTU: [Debian] Improve tools version message

BugLink: http://bugs.launchpad.net/bugs/1257715Signed-off-by: default avatarAndy Whitcroft <apw@canonical.com>
Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent f53f2e10
...@@ -18,5 +18,12 @@ fi ...@@ -18,5 +18,12 @@ fi
# Give them a hint as to what to install. # Give them a hint as to what to install.
echo "`basename $0` not found for kernel $version" >&2 echo "`basename $0` not found for kernel $version" >&2
echo "You may need to install linux-tools-$version-$flavour" >&2 if dpkg --compare-versions "$full_version" lt "3.11.0"; then
flavour=''
else
flavour="-$flavour"
fi
echo "You may need to install linux-tools-$version$flavour for this kernel." >&2
echo "You may also wish to install linux-tools$flavour or" >&2
echo "linux-image$flavour-lts-<series> to keep up to date." >&2
exit 2 exit 2
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment