mirror of
https://github.com/aleho/onlyoffice-ce-docker-license.git
synced 2025-12-07 01:51:29 +01:00
Fix sed typo, consolidate patching
Wrong ordering created a backup copy we don't need.
This commit is contained in:
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user