diff --git a/prepare.sh b/prepare.sh index c4832e6..d07ab47 100644 --- a/prepare.sh +++ b/prepare.sh @@ -401,9 +401,7 @@ streamer_install() { #If we run this function directly, clean up streamer setting before installing get_settings - if [ -n "$STREAMER" ]; then - sed -i "/$STREAMER/d" /etc/octoprint_deploy - fi + sed -i "/streamer/d" /etc/octoprint_deploy if [ $VID -eq 1 ]; then