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