diff --git a/scripts/flash-kernel.conf b/scripts/flash-kernel.conf index feba1f0..f121f35 100644 --- a/scripts/flash-kernel.conf +++ b/scripts/flash-kernel.conf @@ -6,26 +6,16 @@ echo "You are currently running an image built by rcn-ee.net running an rcn-ee" echo "kernel, to use Ubuntu's Kernel remove the next line" USE_RCN_EE_KERNEL=1 -if [ "$USE_RCN_EE_KERNEL" ] ; then - -DIST=$(lsb_release -cs) - -case "$DIST" in - lucid) - exit 0 - ;; - maverick) - FLASH_KERNEL_SKIP=yes - ;; - natty) - FLASH_KERNEL_SKIP=yes - ;; - oneiric) - FLASH_KERNEL_SKIP=yes - ;; - precise) - FLASH_KERNEL_SKIP=yes - ;; -esac +if [ "${USE_RCN_EE_KERNEL}" ] ; then + DIST=$(lsb_release -cs) + case "${DIST}" in + lucid) + exit 0 + ;; + maverick|natty|oneiric|precise|quantal) + FLASH_KERNEL_SKIP=yes + ;; + esac fi +