fix: lts case

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/62/head
Robert Nelson 9 years ago
parent 95d49aaa05
commit e5934ae635

@ -195,14 +195,12 @@ dl_kernel_image () {
echo ""
echo "Downloading Device's Kernel Image"
echo "-----------------------------"
unset lts_grep
if [ "x${cmd_kernel_override}" = "xenable" ] ; then
unset kernel_selected
if [ "x${cmd_LTS41_KERNEL}" = "xenable" ] ; then
kernel_repo="LTS"
kernel_selected="true"
lts_grep="true"
fi
if [ "x${cmd_LTS44_KERNEL}" = "xenable" ] ; then
kernel_repo="LTS44"
@ -222,6 +220,11 @@ dl_kernel_image () {
fi
fi
unset lts_grep
if [ "x${kernel_repo}" = "xLTS" ] ; then
lts_grep="true"
fi
if [ ! "${KERNEL_DEB}" ] ; then
${dl_quiet} --directory-prefix="${TEMPDIR}/dl/" "${MIRROR}/latest/${DISTARCH}/LATEST-${kernel_subarch}"
echo "-----------------------------"

Loading…
Cancel
Save