From 3376aa55fe47527a6fde33efc2a7a6433f43b1b4 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 11 Aug 2009 19:42:22 +0200 Subject: [PATCH] kernel: INSTALL: create boot/grub if necessary. --HG-- extra : convert_revision : 423882f57bb91492d092736e79529e1e27e23b1e --- templates/kernel/INSTALL | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/kernel/INSTALL b/templates/kernel/INSTALL index a86bfef9230..ca528ef758b 100644 --- a/templates/kernel/INSTALL +++ b/templates/kernel/INSTALL @@ -8,6 +8,7 @@ pre) ;; post) if [ ! -f $menulst ]; then + [ ! -d boot/grub ] && mkdir -p boot/grub echo "default 0" >> $menulst echo "timeout 5" >> $menulst fi