Ensure we get all the new color definitions

This commit is contained in:
David Heinemeier Hansson
2026-05-02 16:43:05 +02:00
parent 6f444ed116
commit a3988f0f62
+11 -2
View File
@@ -1,5 +1,14 @@
echo "Update interface_branding_color for limine 12 (palette index -> RRGGBB)"
echo "Update interface_ colours for limine 12 (palette index -> RRGGBB)"
if [[ -f /boot/limine.conf ]]; then
sudo sed -i 's/^interface_branding_color: 2$/interface_branding_color: 9ece6a/' /boot/limine.conf
sudo sed -i 's/^interface_branding_color: 2$/interface_branding_colour: 9ece6a/' /boot/limine.conf
sudo sed -i 's/^interface_branding_color: /interface_branding_colour: /' /boot/limine.conf
if ! grep -q '^interface_help_colour:' /boot/limine.conf; then
echo 'interface_help_colour: 9ece6a' | sudo tee -a /boot/limine.conf >/dev/null
fi
if ! grep -q '^interface_help_colour_bright:' /boot/limine.conf; then
echo 'interface_help_colour_bright: 9ece6a' | sudo tee -a /boot/limine.conf >/dev/null
fi
fi