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

16 lines
374 B
Fish
Raw Normal View History

#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/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