fix stray error in fedora/centos mjpg-streamer

This commit is contained in:
paukstelis
2023-04-23 09:13:54 -04:00
parent 0a21375664
commit 2b12ccb6ac

View File

@@ -905,7 +905,7 @@ prepare () {
restorecon -R -v /home/$user/OctoPrint/bin
if [ $VID -eq 1 ]; then
semanage fcontext -a -t bin_t "/home/$user/mjpg-streamer/.*"
chcon -Rv -u more sysystem_u -t bin_t "/home/$user/mjpg-streamer/"
chcon -Rv -u system_u -t bin_t "/home/$user/mjpg-streamer/"
restorecon -R -v /home/$user/mjpg-streamer
fi
if [ $VID -eq 2 ]; then