From d77bc00d4fe2d736edf2a5c0f7dd96eb1617163c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Canek=20Pel=C3=A1ez=20Vald=C3=A9s?= Date: Sat, 21 Mar 2015 19:42:52 -0600 Subject: [PATCH] kerninst: Remove debug messages. --- kerninst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/kerninst b/kerninst index d78e99e..2eb06a5 100644 --- a/kerninst +++ b/kerninst @@ -245,7 +245,6 @@ function _delete_other_files_grub() { function _delete_other_files_gummiboot() { for DIR in /boot/${MACHINE_ID}/*; do if [ "${DIR}" == "/boot/${MACHINE_ID}/${KERNEL_VERSION}" ]; then - echo "${DIR} is the selected kernel boot directory." continue fi einfo "Deleting ${DIR}..." @@ -253,7 +252,6 @@ function _delete_other_files_gummiboot() { done for FILE in /boot/loader/entries/*; do if [ "${FILE}" == "/boot/loader/entries/${MACHINE_ID}-${KERNEL_VERSION}.conf" ]; then - echo "${FILE} is the selected kernel boot entry." continue fi einfo "Deleting ${FILE}..." @@ -264,15 +262,12 @@ function _delete_other_files_gummiboot() { function clean() { for DIR in /usr/src/linux-* /lib/modules/*; do if [ ! -d "${DIR}" ]; then - echo "${DIR} is not a dir." continue fi if [ "${DIR}" == "/usr/src/${KERNEL_DIR}" ]; then - echo "${DIR} is the selected kernel directory." continue fi if [ "${DIR}" == "/lib/modules/${KERNEL_VERSION}" ]; then - echo "${DIR} is the selected kernel modules directory." continue fi einfo "Deleting ${DIR}..." -- GitLab