From d661874c9e68b7134f154c724eacb0b902edf1e3 Mon Sep 17 00:00:00 2001 From: paukstelis Date: Mon, 28 Mar 2022 22:41:45 -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 2d74a1b..fde8e9f 100755 --- a/octoprint_deploy.sh +++ b/octoprint_deploy.sh @@ -560,8 +560,8 @@ prepare () { #Fedora has SELinux on by default so must make adjustments... #Will need to do this for mjpeg-streamer as well if [ $INSTALL -eq 5 ]; then - semanage fcontext -a -t bin_t '/home/$user/OctoPrint/bin/.*' - chcon -Rv -u system_u -t bin_t /home/$user/OctoPrint/bin/ + semanage fcontext -a -t bin_t "/home/$user/OctoPrint/bin/.*" + chcon -Rv -u system_u -t bin_t "/home/$user/OctoPrint/bin/" restorecon -R -v /home/$user/OctoPrint/bin fi echo 'Starting generic service on port 5000'