From b03de8bc7513e855d41abec1fc4583e1f1a6c1ae Mon Sep 17 00:00:00 2001 From: th33xitus Date: Fri, 1 Apr 2022 19:29:05 +0200 Subject: [PATCH] refactor(utilities.sh): remove unused function Signed-off-by: Dominik Willner th33xitus@gmail.com --- scripts/utilities.sh | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/scripts/utilities.sh b/scripts/utilities.sh index fed6e5d..ccc0f2f 100644 --- a/scripts/utilities.sh +++ b/scripts/utilities.sh @@ -273,23 +273,6 @@ dependency_check(){ fi } -print_error(){ - for data in "${data_arr[@]}" - do - if [ ! -e "${data}" ]; then - data_count+=(0) - else - data_count+=(1) - fi - done - sum=$(IFS=+; echo "$((${data_count[*]}))") - if [ "${sum}" -eq 0 ]; then - ERROR_MSG="Looks like $1 was already removed!\n Skipping..." - else - ERROR_MSG="" - fi -} - setup_gcode_shell_command(){ echo top_border