This commit is contained in:
Cyril 2024-05-31 22:04:19 +02:00
parent 70268f003f
commit 2309c9984e
4 changed files with 4 additions and 12 deletions

View file

@ -190,9 +190,7 @@ function install_menu_k1() {
run "install_usb_camera" "install_menu_ui_k1"
fi;;
19)
if [ -d "$OCTOEVERYWHERE_FOLDER" ]; then
error_msg "OctoEverywhere is already installed!"
elif [ ! -d "$MOONRAKER_FOLDER" ]; then
if [ ! -d "$MOONRAKER_FOLDER" ]; then
error_msg "Moonraker and Nginx are needed, please install them first!"
elif [ ! -d "$FLUIDD_FOLDER" ] && [ ! -d "$MAINSAIL_FOLDER" ]; then
error_msg "Fluidd or Mainsail is needed, please install one of them first!"