just remove streamer lines before making new streamer (#138)

This commit is contained in:
paukstelis
2023-12-29 17:29:24 -05:00
committed by GitHub
parent 6e8c64a932
commit 6b815937b8

View File

@@ -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