mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 12:56:29 +08:00
Force the deletion of the grub-btrfs.cfg file
This commit is contained in:
committed by
Pascal J
parent
87f030f6e8
commit
934a4a38e6
@@ -565,7 +565,7 @@ boot_separate()
|
||||
IFS=$oldIFS
|
||||
}
|
||||
|
||||
rm -f "$grub_btrfs_directory/grub-btrfs.new"
|
||||
rm -f "$grub_btrfs_directory/grub-btrfs.new" "$grub_btrfs_directory/grub-btrfs.cfg"
|
||||
> "$grub_btrfs_directory/grub-btrfs.new" # Create a "grub-btrfs.new" file in "grub_btrfs_directory"
|
||||
# Create mount point then mounting
|
||||
[[ ! -d $grub_btrfs_mount_point ]] && mkdir -p "$grub_btrfs_mount_point"
|
||||
|
||||
Reference in New Issue
Block a user