PortValhalla/scripts/Common/Software/minegrub-theme/main.fish

16 lines
373 B
Fish
Raw Normal View History

#!/bin/env fish
begin
set -l dir (status dirname)
2024-11-01 12:12:16 +00:00
source "$dir/../../../lib/software.fish"
function configureSW -V dir
2024-07-16 21:35:12 +00:00
sudo sed -i \
2024-07-16 23:07:27 +00:00
's/^#\?\(GRUB_THEME=\).*$/\1"\/usr\/share\/grub\/themes\/minegrub\/minegrub\/theme.txt"/' \
2024-07-16 21:35:12 +00:00
/etc/default/grub
2024-10-13 13:35:24 +00:00
fish "$dir/../grub/main.fish" configure
end
runInstaller $argv
end