Update moonraker_obico.sh

This commit is contained in:
Cyril 2024-05-12 21:07:45 +02:00
parent d6e1235feb
commit 99601b90f1

View file

@ -68,13 +68,6 @@ function remove_moonraker_obico(){
rm -f "$KLIPPER_CONFIG_FOLDER"/moonraker-obico-update.cfg
rm -f "$KLIPPER_CONFIG_FOLDER"/config/moonraker-obico.cfg
rm -f /etc/init.d/S99moonraker_obico
if [ -f "$ENTWARE_FILE" ]; then
echo -e "Info: Removing packages..."
set +e
"$ENTWARE_FILE" --autoremove remove python3
"$ENTWARE_FILE" --autoremove remove python3-pip
set -e
fi
echo -e "Info: Restarting Moonraker service..."
stop_moonraker
start_moonraker