This commit is contained in:
Cyril 2024-05-04 23:58:46 +02:00
parent dc90850413
commit 0baac76aab
2 changed files with 4 additions and 0 deletions

View file

@ -60,6 +60,8 @@ function remove_menu_k1() {
1)
if [ ! -d "$MOONRAKER_FOLDER" ] && [ ! -d "$NGINX_FOLDER" ]; then
error_msg "Moonraker and Nginx are not installed!"
elif [ -d "$GUPPY_SCREEN_FOLDER" ]; then
error_msg "Moonraker is needed to use Guppy Screen, please uninstall it first!"
else
run "remove_moonraker_nginx" "remove_menu_ui_k1"
fi;;

View file

@ -53,6 +53,8 @@ function remove_menu_ke() {
1)
if [ ! -d "$MOONRAKER_FOLDER" ] && [ ! -d "$NGINX_FOLDER" ]; then
error_msg "Moonraker and Nginx are not installed!"
elif [ -d "$GUPPY_SCREEN_FOLDER" ]; then
error_msg "Moonraker is needed to use Guppy Screen, please uninstall it first!"
else
run "remove_moonraker_nginx" "remove_menu_ui_ke"
fi;;