grub-mkconfig: use $pkgdatadir in scripts
Otherwise scripts will source wrong grub-mkconfig_lib.
This commit is contained in:
parent
70b002de55
commit
104dff36ea
11 changed files with 13 additions and 10 deletions
|
@ -25,7 +25,7 @@ grub_lang=`echo $LANG | cut -d . -f 1`
|
|||
export TEXTDOMAIN=@PACKAGE@
|
||||
export TEXTDOMAINDIR="@localedir@"
|
||||
|
||||
. "@datadir@/@PACKAGE@/grub-mkconfig_lib"
|
||||
. "$pkgdatadir/grub-mkconfig_lib"
|
||||
|
||||
# Do this as early as possible, since other commands might depend on it.
|
||||
# (e.g. the `loadfont' command might need lvm or raid modules)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue