refactor(nginx.sh): improve handling of conflicting packages

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-05-27 11:52:44 +02:00
parent 64a6ba462a
commit f9d2671930
4 changed files with 76 additions and 73 deletions

View File

@@ -25,12 +25,8 @@ function install_fluidd() {
### checking dependencies
local dep=(wget nginx)
dependency_check "${dep[@]}"
### check if moonraker is already installed
system_check_webui
### ask user how to handle Haproxy, Apache2 if found
process_services_dialog
### process possible disruptive services
process_disruptive_services
### detect conflicting Haproxy and Apache2 installations
detect_conflicting_packages
status_msg "Initializing Fluidd installation ..."
### first, we create a backup of the full klipper_config dir - safety first!