Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
e1ba3b84
Commit
e1ba3b84
authored
Mar 18, 2024
by
Anton Midyukov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
01-grub
features.in/grub/stage1/scripts.d/01-grub
+1
-2
No files found.
features.in/grub/stage1/scripts.d/01-grub
View file @
e1ba3b84
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment