diff options
-rwxr-xr-x | setup-gummiboot-conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-gummiboot-conf b/setup-gummiboot-conf index 8767f2f..fa0cf58 100755 --- a/setup-gummiboot-conf +++ b/setup-gummiboot-conf @@ -96,7 +96,7 @@ done # Update the default entry newest_kernel="$(printf "%s" "$kernels" | head -n1)" -sed -i -e "s/[ \t]*default[ \t]\+.*/default $newest_kernel.conf/" "$conf_file" +sed -i -e "s/[ \t]*default[ \t]\+.*/default $newest_kernel/" "$conf_file" # Remove gummiboot entries for non-existing kernels printf "%s\n" "$entries" | while IFS= read -r entry; do |