From 509d00f1ccd0c885cb96c7dca82bc5e4af14c0e3 Mon Sep 17 00:00:00 2001 From: robertmh Date: Sat, 5 May 2007 10:57:51 +0000 Subject: [PATCH] 2007-05-05 Robert Millan * util/update-grub.in: Create ${grub_prefix} if it doesn't exist. --- ChangeLog | 4 ++++ util/update-grub.in | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index ee4e743ac..70507b30b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-05-05 Robert Millan + + * util/update-grub.in: Create ${grub_prefix} if it doesn't exist. + 2007-05-05 Robert Millan * util/grub.d/10_linux.in: Allow the administrator to insert Linux diff --git a/util/update-grub.in b/util/update-grub.in index a4d1af76d..c9f1601f7 100644 --- a/util/update-grub.in +++ b/util/update-grub.in @@ -61,6 +61,7 @@ if ${found} ; then : ; else fi if ${test_mode} ; then : ; else + mkdir -p ${grub_prefix} exec > ${grub_cfg}.new chmod 444 ${grub_cfg}.new fi