From e76fc3cda8ecc8c284a8a0118a848f797b5f16bd Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Wed, 17 Jun 2009 14:50:51 +0200 Subject: [PATCH] Handle error in CN kernel detection. --- src/functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions.sh b/src/functions.sh index b931651..9d074be 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -1316,7 +1316,7 @@ check_kernel_space() { log "Kernel package: $pkg" log "Kernel size: ${kernel_size}MB" - if LC_ALL=C apt-get --yes --print-uris install kernel-2.6-cn \ + if LC_ALL=C apt-get -s install kernel-2.6-cn \ | grep -q '^kernel-2.6-cn is already the newest version.$' then log "Not checking free space in /: kernel-2.6-cn already installed" -- 1.7.10.4