Skip to content

Commit

Permalink
make it work with a kernel named Image
Browse files Browse the repository at this point in the history
  • Loading branch information
theironrobin committed Jul 28, 2023
1 parent 490720a commit 768a285
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions 41_snapshots-btrfs
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ make_menu_entries()
for k in "${name_kernel[@]}"; do
[[ ! -f "${boot_dir}"/"${k}" ]] && continue;
kversion=${k#*"-"}
if [ "${kversion}" = "Image" ]; then kversion="linux"; fi
for i in "${name_initramfs[@]}"; do
if [[ "${name_initramfs}" != "x" ]] ; then
# prefix_i=${i%%"-"*}
Expand Down

0 comments on commit 768a285

Please sign in to comment.