Update grub-btrfsd (#289)

fix grub.cfg path in grub submenu creation
This commit is contained in:
Brian Morison
2023-07-26 13:18:10 -06:00
committed by GitHub
parent ade5a91d55
commit 490720a13c

View File

@@ -206,7 +206,7 @@ setup() {
create_grub_menu() { create_grub_menu() {
# create the grub submenu of the whole grub menu, depending on wether the submenu already exists # create the grub submenu of the whole grub menu, depending on wether the submenu already exists
# and gives feedback if it worked # and gives feedback if it worked
if grep "snapshots-btrfs" "{grub_directory}/grub.cfg"; then if grep "snapshots-btrfs" "${GRUB_BTRFS_GRUB_DIRNAME:-/boot/grub}"/grub.cfg; then
if /etc/grub.d/41_snapshots-btrfs; then if /etc/grub.d/41_snapshots-btrfs; then
log "Grub submenu recreated" "${GREEN}" log "Grub submenu recreated" "${GREEN}"
else else