diff --git a/scripts/klipperscreen.sh b/scripts/klipperscreen.sh index 9701e7c..fd0cc29 100644 --- a/scripts/klipperscreen.sh +++ b/scripts/klipperscreen.sh @@ -126,7 +126,7 @@ function update_klipperscreen() { git checkout -f master && ok_msg "Checkout successfull" if [[ $(md5sum "${KLIPPERSCREEN_DIR}/scripts/KlipperScreen-requirements.txt" | cut -d " " -f1) != "${old_md5}" ]]; then - status_msg "New dependecies detected..." + status_msg "New dependencies detected..." "${KLIPPERSCREEN_ENV}"/bin/pip install -r "${KLIPPERSCREEN_DIR}/scripts/KlipperScreen-requirements.txt" ok_msg "Dependencies have been installed!" fi diff --git a/scripts/mobileraker.sh b/scripts/mobileraker.sh index 39445a0..0f4c554 100644 --- a/scripts/mobileraker.sh +++ b/scripts/mobileraker.sh @@ -133,7 +133,7 @@ function update_mobileraker() { git checkout -f main && ok_msg "Checkout successfull" if [[ $(md5sum "${MOBILERAKER_DIR}/scripts/mobileraker-requirements.txt" | cut -d " " -f1) != "${old_md5}" ]]; then - status_msg "New dependecies detected..." + status_msg "New dependencies detected..." "${MOBILERAKER_ENV}"/bin/pip install -r "${MOBILERAKER_DIR}/scripts/mobileraker-requirements.txt" ok_msg "Dependencies have been installed!" fi