From 504f2d587e9a288fdb3515d4cc1050f0dbf909bb Mon Sep 17 00:00:00 2001 From: paukstelis Date: Sat, 11 Jun 2022 13:21:51 -0400 Subject: [PATCH] quotes --- octoprint_deploy.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/octoprint_deploy.sh b/octoprint_deploy.sh index 21da3b7..73c6cbc 100755 --- a/octoprint_deploy.sh +++ b/octoprint_deploy.sh @@ -636,7 +636,7 @@ prepare () { fi if [ $INSTALL -eq 1 ]; then - OCTOEXEC=sudo -u $user /home/$user/oprint/bin/octoprint + OCTOEXEC="sudo -u $user /home/$user/oprint/bin/octoprint" echo 'type: octopi' >> /etc/octoprint_deploy if prompt_confirm "Would you like to install and use ustreamer instead of mjpg-streamer?"; then echo 'streamer: ustreamer' >> /etc/octoprint_deploy @@ -668,7 +668,7 @@ prepare () { fi if [ $INSTALL -gt 1 ]; then - OCTOEXEC=sudo -u $user /home/$user/OctoPrint/bin/octoprint + OCTOEXEC="sudo -u $user /home/$user/OctoPrint/bin/octoprint" echo 'type: linux' >> /etc/octoprint_deploy echo "Creating OctoBuntu installation equivalent." echo "Adding systemctl and reboot to sudo"