Skip to content

Commit

Permalink
Scripts: don't fail if kinematics exist, rename update-manager entry
Browse files Browse the repository at this point in the history
  • Loading branch information
miklschmidt committed Nov 30, 2024
1 parent c36d8b7 commit 597da18
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion configuration/moonraker.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ origin: https://github.com/Rat-OS/RatOS-theme.git
is_system_service: False
primary_branch: v2.1.x

[update_manager RatOS]
[update_manager ratos-configurator]
type: git_repo
path: ~/ratos-configurator
primary_branch: v2.1.x-deployment
Expand Down
2 changes: 1 addition & 1 deletion configuration/scripts/ratos-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ register_ratos_kinematics() {
EXT_NAME="ratos_hybrid_corexy"
EXT_PATH=$(realpath "${SCRIPT_DIR}/../klippy/kinematics")
EXT_FILE="ratos_hybrid_corexy.py"
_register_klippy_extension $EXT_NAME "$EXT_PATH" $EXT_FILE
_register_klippy_extension $EXT_NAME "$EXT_PATH" $EXT_FILE "false"
}

register_ratos()
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ ensure_service_permission()
if ! grep -q "ratos-configurator" "${RATOS_PRINTER_DATA_DIR}/moonraker.asvc"; then
report_status "Updatin moonraker service permissions"
printf '\nratos-configurator' >> "${RATOS_PRINTER_DATA_DIR}/moonraker.asvc"
echo "Configurator added to moonraker service permissions!"
echo "RatOS added to moonraker service permissions!"
fi
}

Expand Down

0 comments on commit 597da18

Please sign in to comment.