From 2374b9f2836bdf58e4a82cdd993a0a6b23e5be85 Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Tue, 29 Oct 2013 14:07:14 +0100 Subject: [PATCH] Upgrade grub-pc with kernel-cn. --- src/functions.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/functions.sh b/src/functions.sh index d9c9734..1d94faa 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -985,7 +985,12 @@ upgrade_mailman() { upgrade_kernel() { if pkg kernel-2.6-cn; then pkgrm kernel-2.6-cn - pkgadd kernel-cn + + if pkg grub-pc; then + pkgadd kernel-cn grub-pc + else + pkgadd kernel-cn + fi fi } -- 1.7.10.4