Commit e1ba3b84 authored by Anton Midyukov's avatar Anton Midyukov

grub: do not abort, if grub theme not found

Since we check for the presence of a theme before enabling it in the grub config, it is enough to issue a warning.
parent 38976d92
......@@ -64,8 +64,7 @@ if [ -n "$GRUBTHEME" ]; then
if [ -d "/boot/grub/themes/$GRUBTHEME" ]; then
cp -r /boot/grub/themes/$GRUBTHEME themes/
else
echo "Error: Directory /boot/grub/themes/$GRUBTHEME not exist"
exit 1
echo "Warning: Directory /boot/grub/themes/$GRUBTHEME not exist" >&2
fi
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment