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

15 lines
374 B
Fish
Executable file

#!/bin/env fish
begin
set -l dir (status dirname)
source "$dir/../../Scripts/software.fish"
function configureSW -V dir
sudo sed -i \
's/^#\?\(GRUB_THEME=\).*$/\1"\/usr\/share\/grub\/themes\/minegrub\/minegrub\/theme.txt"/' \
/etc/default/grub
fish "$dir/../GRUB/main.fish" configure
end
runInstaller $argv
end