From ecf4041851dec7538973a3e1a63a90491516080a Mon Sep 17 00:00:00 2001 From: Yifei Ding Date: Fri, 12 Nov 2021 16:14:27 -0800 Subject: [PATCH] fix: remove redundant global for moonraker --- scripts/constants/constants.sh | 4 ++-- scripts/install_moonraker.sh | 5 +---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/scripts/constants/constants.sh b/scripts/constants/constants.sh index 05790b6..3b7b351 100755 --- a/scripts/constants/constants.sh +++ b/scripts/constants/constants.sh @@ -1,8 +1,7 @@ #!/bin/bash ### set important directories -#kiauh.sh -#klipper +# klipper readonly KLIPPER_DIR=${HOME}/klipper readonly KLIPPY_ENV=${HOME}/klippy-env #nginx @@ -12,6 +11,7 @@ readonly NGINX_CONFD=/etc/nginx/conf.d #moonraker readonly MOONRAKER_DIR=${HOME}/moonraker readonly MOONRAKER_ENV=${HOME}/moonraker-env +readonly MOONRAKER_REPO="https://github.com/Arksine/moonraker.git" #mainsail readonly MAINSAIL_DIR=${HOME}/mainsail #fluidd diff --git a/scripts/install_moonraker.sh b/scripts/install_moonraker.sh index 24efd66..8ca43c0 100755 --- a/scripts/install_moonraker.sh +++ b/scripts/install_moonraker.sh @@ -1,7 +1,4 @@ -### base variables -MOONRAKER_ENV="${HOME}/moonraker-env" -MOONRAKER_DIR="${HOME}/moonraker" -MOONRAKER_REPO="https://github.com/Arksine/moonraker.git" +#!/bin/bash system_check_moonraker(){ ### python 3 check