Update kernel-clean-v3.sh

This commit is contained in:
tteckster 2022-05-04 06:08:21 -04:00 committed by GitHub
parent 58aca2277e
commit ea5b2d9001
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ msg_ok "Kernel Search Completed\n"
read -p "Would you like to remove the $(echo $remove_kernels | awk '{print NF}') selected Kernels listed above? [y/n]: " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
msg_info "Removing ${CL}${RD}$(echo $remove_kernels | awk '{print NF}') ${CL}${YW}old Kernels...${CL}"
msg_info "Removing ${CL}${RD}$(echo $remove_kernels | awk '{print NF}') ${CL}${YW}old Kernels${CL}"
/usr/bin/apt purge -y $remove_kernels > /dev/null 2>&1
msg_ok "Successfully Removed Kernels"
msg_info "Updating GRUB"