Compare commits

...

3 Commits

Author SHA1 Message Date
Nick Berardi
595800e566 Merge 89a9d38d39 into bce92001a6 2024-06-28 19:54:22 +02:00
breakheart
bce92001a6 fix: use correct Spoolman directory name (#486) 2024-06-28 17:46:19 +02:00
Nick Berardi
89a9d38d39 trim klipper git clone to only latest history 2024-01-01 15:03:40 -05:00
2 changed files with 2 additions and 2 deletions

View File

@@ -89,7 +89,7 @@ function set_globals() {
OCTOAPP_REPO="https://github.com/crysxd/OctoApp-Plugin.git"
#=============== Spoolman ================#
SPOOLMAN_DIR="${HOME}/spoolman"
SPOOLMAN_DIR="${HOME}/Spoolman"
SPOOLMAN_DB_DIR="${HOME}/.local/share/spoolman"
SPOOLMAN_REPO="https://api.github.com/repos/Donkie/Spoolman/releases/latest"
}

View File

@@ -264,7 +264,7 @@ function clone_klipper() {
status_msg "Cloning Klipper from ${repo} ..."
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}"
else
print_error "Cloning Klipper from\n ${repo}\n failed!"