do not remove tornado when removing dwc2fk, will get seperate function

This commit is contained in:
th33xitus
2020-07-18 18:49:55 +02:00
parent e4cfad4162
commit fed882298e
2 changed files with 0 additions and 8 deletions

View File

@@ -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!"

View File

@@ -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[@]}"