mirror of
https://github.com/dw-0/kiauh.git
synced 2025-12-14 11:04:29 +05:00
Fix bug
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
mainsail_install_routine(){
|
mainsail_install_routine(){
|
||||||
|
ERROR="0" #reset error state
|
||||||
if [ -d $KLIPPER_DIR ]; then
|
if [ -d $KLIPPER_DIR ]; then
|
||||||
#check for dependencies
|
#check for dependencies
|
||||||
dep=(wget curl unzip)
|
dep=(wget curl unzip)
|
||||||
@@ -9,7 +10,7 @@ mainsail_install_routine(){
|
|||||||
disable_haproxy_lighttpd
|
disable_haproxy_lighttpd
|
||||||
remove_haproxy_lighttpd
|
remove_haproxy_lighttpd
|
||||||
install_moonraker
|
install_moonraker
|
||||||
if [ "$ERROR" != 1 ]; then
|
if [ "$ERROR" != "1" ]; then
|
||||||
check_printer_cfg
|
check_printer_cfg
|
||||||
restart_moonraker
|
restart_moonraker
|
||||||
restart_klipper
|
restart_klipper
|
||||||
|
|||||||
Reference in New Issue
Block a user