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
|
@ -33,6 +33,9 @@ datadir="@datadir@"
|
|||
if [ "x$pkgdatadir" = x ]; then
|
||||
pkgdatadir="${datadir}/@PACKAGE@"
|
||||
fi
|
||||
# export it for scripts
|
||||
export pkgdatadir
|
||||
|
||||
grub_cfg=""
|
||||
grub_mkconfig_dir="${sysconfdir}"/grub.d
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue