Update kernel-clean.sh

This commit is contained in:
tteckster 2022-03-05 10:28:24 -05:00 committed by GitHub
parent 0fed77a0c5
commit 4984b5d6f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ function kernel_clean {
printf "Removing $(echo $kernels_to_remove | awk '{print NF}') old Kernels..." printf "Removing $(echo $kernels_to_remove | awk '{print NF}') old Kernels..."
/usr/bin/apt purge -y $kernels_to_remove > /dev/null 2>&1 /usr/bin/apt purge -y $kernels_to_remove > /dev/null 2>&1
printf "Finished!\n" printf "Finished!\n"
printf "Updating GRUB..." printf "Updating GRUB... \n"
/usr/sbin/update-grub > /dev/null 2>&1 /usr/sbin/update-grub > /dev/null 2>&1
printf "Finished!\n" printf "Finished!\n"
else else