Fix sed typo, consolidate patching
Wrong ordering created a backup copy we don't need.
This commit is contained in:
parent
3c264e164a
commit
1105492df0
1 changed files with 3 additions and 9 deletions
12
Dockerfile
12
Dockerfile
|
@ -3,16 +3,10 @@ FROM onlyoffice/documentserver:$oo_version
|
|||
ARG oo_version=5.6.5.3
|
||||
|
||||
|
||||
RUN sed -is \
|
||||
's/isSupportEditFeature:function(){return!1}/isSupportEditFeature:function(){return true}/g' \
|
||||
/var/www/onlyoffice/documentserver/web-apps/apps/documenteditor/mobile/app.js
|
||||
|
||||
RUN sed -is \
|
||||
's/isSupportEditFeature:function(){return!1}/isSupportEditFeature:function(){return true}/g' \
|
||||
/var/www/onlyoffice/documentserver/web-apps/apps/presentationeditor/mobile/app.js
|
||||
|
||||
RUN sed -is \
|
||||
RUN sed -si \
|
||||
's/isSupportEditFeature:function(){return!1}/isSupportEditFeature:function(){return true}/g' \
|
||||
/var/www/onlyoffice/documentserver/web-apps/apps/documenteditor/mobile/app.js \
|
||||
/var/www/onlyoffice/documentserver/web-apps/apps/presentationeditor/mobile/app.js \
|
||||
/var/www/onlyoffice/documentserver/web-apps/apps/spreadsheeteditor/mobile/app.js
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue