mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
replace find with add_full_dir
This commit is contained in:
parent
5d3b4206f7
commit
354f04544b
1 changed files with 2 additions and 4 deletions
|
@ -14,10 +14,8 @@ build ()
|
||||||
## add grub-mkconfig helper scripts
|
## add grub-mkconfig helper scripts
|
||||||
add_file "/usr/share/grub/grub-mkconfig_lib"
|
add_file "/usr/share/grub/grub-mkconfig_lib"
|
||||||
add_file "/etc/default/grub"
|
add_file "/etc/default/grub"
|
||||||
|
|
||||||
for i in $(find /etc/grub.d/* ! -type d); do
|
add_full_dir "/etc/grub.d"
|
||||||
add_file "$i"
|
|
||||||
done
|
|
||||||
|
|
||||||
if [[ "$(uname -m)" == "x86_64" ]]; then
|
if [[ "$(uname -m)" == "x86_64" ]]; then
|
||||||
# add bios and x86_64-efi files
|
# add bios and x86_64-efi files
|
||||||
|
|
Loading…
Reference in a new issue