summaryrefslogtreecommitdiff
path: root/user/grub/update-grub
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-06 06:53:47 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-11-06 06:53:47 +0000
commit1c9d8637f367f16824fcdea4323b3ef6b0e2a599 (patch)
treef89c4766a033a19e7208165fa57c12ab86c1bb16 /user/grub/update-grub
parent814c443b05eaf60e25e8df6518f4cc56593e7b3f (diff)
downloadpackages-1c9d8637f367f16824fcdea4323b3ef6b0e2a599.tar.gz
packages-1c9d8637f367f16824fcdea4323b3ef6b0e2a599.tar.bz2
packages-1c9d8637f367f16824fcdea4323b3ef6b0e2a599.tar.xz
packages-1c9d8637f367f16824fcdea4323b3ef6b0e2a599.zip
user/grub: mkdir /boot/grub if it doesn't exist
Diffstat (limited to 'user/grub/update-grub')
-rw-r--r--user/grub/update-grub1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/grub/update-grub b/user/grub/update-grub
index d22930bd7..07b57a9c0 100644
--- a/user/grub/update-grub
+++ b/user/grub/update-grub
@@ -10,6 +10,7 @@ if [ "$ADELIE_MANUAL_CONFIG" = 1 ]; then
exit 0
fi
+mkdir -p /boot/grub
if [ -e /boot/grub/grub.cfg ]; then
cp -p /boot/grub/grub.cfg /boot/grub/grub.cfg.update-grub-old
fi