Compare commits

...

4 Commits

Author SHA1 Message Date
Nick Berardi
6662ce0c1d Merge 89a9d38d39 into 099d47df2f 2024-01-29 21:11:49 -07:00
dw-0
099d47df2f fix: revert "refactor(Mobileraker): update companion install script (#431)" (#432)
This reverts commit ba1cdb3739.
2024-01-29 17:17:09 +01:00
Patrick Schmidt
ba1cdb3739 refactor(Mobileraker): update companion install script (#431) 2024-01-29 17:09:30 +01:00
Nick Berardi
89a9d38d39 trim klipper git clone to only latest history 2024-01-01 15:03:40 -05:00

View File

@@ -264,7 +264,7 @@ function clone_klipper() {
status_msg "Cloning Klipper from ${repo} ..." status_msg "Cloning Klipper from ${repo} ..."
cd "${HOME}" || exit 1 cd "${HOME}" || exit 1
if git clone "${repo}" "${KLIPPER_DIR}"; then if git clone "${repo}" "${KLIPPER_DIR}" --depth 1; then
cd "${KLIPPER_DIR}" && git checkout "${branch}" cd "${KLIPPER_DIR}" && git checkout "${branch}"
else else
print_error "Cloning Klipper from\n ${repo}\n failed!" print_error "Cloning Klipper from\n ${repo}\n failed!"