From fed882298e85c4516dba377915fd1675f7cf0f3c Mon Sep 17 00:00:00 2001 From: th33xitus <> Date: Sat, 18 Jul 2020 18:49:55 +0200 Subject: [PATCH] do not remove tornado when removing dwc2fk, will get seperate function --- scripts/remove.sh | 6 ------ scripts/status.sh | 2 -- 2 files changed, 8 deletions(-) diff --git a/scripts/remove.sh b/scripts/remove.sh index 6404a3c..8817de6 100644 --- a/scripts/remove.sh +++ b/scripts/remove.sh @@ -29,8 +29,6 @@ remove_klipper(){ remove_dwc2(){ data_arr=( $DWC2FK_DIR - $TORNADO_DIR1 - $TORNADO_DIR2 $WEB_DWC2 $DWC2_DIR ) @@ -40,10 +38,6 @@ remove_dwc2(){ status_msg "Removing DWC2-for-Klipper directory ..." rm -rf $DWC2FK_DIR && ok_msg "Directory removed!" fi - if [ -d $TORNADO_DIR1 ]; then - status_msg "Removing Tornado from klippy-env ..." - rm -rf $TORNADO_DIR1 $TORNADO_DIR2 && ok_msg "Tornado removed!" - fi if [ -e $WEB_DWC2 ]; then status_msg "Removing web_dwc2.py Symlink from klippy ..." rm -rf $WEB_DWC2 && ok_msg "File removed!" diff --git a/scripts/status.sh b/scripts/status.sh index aeb28d5..cffa419 100644 --- a/scripts/status.sh +++ b/scripts/status.sh @@ -28,8 +28,6 @@ dwc2_status(){ $DWC2FK_DIR $WEB_DWC2 $DWC2_DIR - $TORNADO_DIR1 - $TORNADO_DIR2 ) #count+1 for each found data-item from array for dd in "${dwc2_data[@]}"