replace find with add_full_dir

This commit is contained in:
Tobias Powalowski 2022-02-01 12:33:36 +01:00
parent 5d3b4206f7
commit 354f04544b

View file

@ -14,10 +14,8 @@ build ()
## add grub-mkconfig helper scripts
add_file "/usr/share/grub/grub-mkconfig_lib"
add_file "/etc/default/grub"
for i in $(find /etc/grub.d/* ! -type d); do
add_file "$i"
done
add_full_dir "/etc/grub.d"
if [[ "$(uname -m)" == "x86_64" ]]; then
# add bios and x86_64-efi files