From a520795e1b3f4ea585bc00816c1952c17a5b013e Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 20 Sep 2023 05:27:06 -0400 Subject: [PATCH] Update kernel-clean.sh tweak --- misc/kernel-clean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/kernel-clean.sh b/misc/kernel-clean.sh index ace0f0a1..d34a63af 100644 --- a/misc/kernel-clean.sh +++ b/misc/kernel-clean.sh @@ -56,7 +56,7 @@ done < <(echo "$available_kernels") remove_kernels=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "Current Kernel $current_kernel" --checklist "\nSelect Kernels to remove:\n" \ 16 $((MSG_MAX_LENGTH + 58)) 6 "${CTID_MENU[@]}" 3>&1 1>&2 2>&3 | tr -d '"') || exit -whiptail --backtitle "Proxmox VE Helper Scripts" --title "Remove Kernels" --yesno "Would you like to remove the previously selected Kernels?" 10 68 || exit +whiptail --backtitle "Proxmox VE Helper Scripts" --title "Remove Kernels" --yesno "Would you like to remove the $(echo $remove_kernels | awk '{print NF}') previously selected Kernels?" 10 68 || exit 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