diff --git a/stremio-web-service-run.sh b/stremio-web-service-run.sh index 82477f4..01d185b 100644 --- a/stremio-web-service-run.sh +++ b/stremio-web-service-run.sh @@ -6,7 +6,7 @@ else fi # fix for not passed config option -sed -i '/self.allTranscodeProfiles = \[\]/a \ \ \ \ \ \ \ \ self.proxyStreamsEnabled = false,' server.js +grep -q 'self.proxyStreamsEnabled = false,' server.js || sed -i '/self.allTranscodeProfiles = \[\]/a \ \ \ \ \ \ \ \ self.proxyStreamsEnabled = false,' server.js # fix for incomptible df alias df="df -P"