mirror of
https://github.com/vinceliuice/grub2-themes.git
synced 2026-06-07 03:43:58 +08:00
Compare commits
2 Commits
a697a28fe6
...
85db6e7cea
| Author | SHA1 | Date | |
|---|---|---|---|
| 85db6e7cea | |||
| 3e7139701e |
@@ -42,7 +42,7 @@
|
|||||||
|
|
||||||
if [ -n "${splashImage}" ]; then
|
if [ -n "${splashImage}" ]; then
|
||||||
rm $out/grub/themes/${cfg.theme}/background.jpg;
|
rm $out/grub/themes/${cfg.theme}/background.jpg;
|
||||||
${pkgs.imagemagick}/bin/convert ${splashImage} $out/grub/themes/${cfg.theme}/background.jpg;
|
${pkgs.imagemagick}/bin/magick ${splashImage} $out/grub/themes/${cfg.theme}/background.jpg;
|
||||||
fi;
|
fi;
|
||||||
if [ ${pkgs.lib.trivial.boolToString cfg.footer} == "false" ]; then
|
if [ ${pkgs.lib.trivial.boolToString cfg.footer} == "false" ]; then
|
||||||
sed -i ':again;$!N;$!b again; s/\+ image {[^}]*}//g' $out/grub/themes/${cfg.theme}/theme.txt;
|
sed -i ':again;$!N;$!b again; s/\+ image {[^}]*}//g' $out/grub/themes/${cfg.theme}/theme.txt;
|
||||||
|
|||||||
Reference in New Issue
Block a user