* util/grub-mkconfig_lib.in (grub_warn): New function.
(convert_system_path_to_grub_path): Use grub_warn() when issuing warnings, to obtain consistent formatting. * util/grub.d/00_header.in: Likewise. * util/update-grub_lib.in: Likewise.
This commit is contained in:
parent
3cf6ac19e1
commit
73e8e268b7
4 changed files with 16 additions and 4 deletions
|
@ -18,5 +18,6 @@ prefix=@prefix@
|
|||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
|
||||
echo "warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead" >&2
|
||||
. ${libdir}/grub/grub-mkconfig_lib
|
||||
|
||||
grub_warn "update-grub_lib is deprecated, use grub-mkconfig_lib instead"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue