From 134665a5ea83563a28421f09f246dfc1669b66aa Mon Sep 17 00:00:00 2001 From: Mikkel Schmidt Date: Sat, 22 Jun 2024 01:11:00 +0200 Subject: [PATCH] Klipper: install linear movement analysis dependencies as pi Github: #134 --- src/modules/linear_movement_analysis/start_chroot_script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/linear_movement_analysis/start_chroot_script b/src/modules/linear_movement_analysis/start_chroot_script index 0a637d79b..2835ea836 100644 --- a/src/modules/linear_movement_analysis/start_chroot_script +++ b/src/modules/linear_movement_analysis/start_chroot_script @@ -21,4 +21,4 @@ ratos extensions register klipper "linear_movement_analysis" "${EXTENSION_PATH}/ echo_green "Installing matplotlib for python 2" -/home/"${BASE_USER}"/klippy-env/bin/pip install -v matplotlib +sudo -u "${BASE_USER}" /home/"${BASE_USER}"/klippy-env/bin/pip install -v matplotlib