Skip to content

Commit

Permalink
add default.json to documentserver 3rdparty component
Browse files Browse the repository at this point in the history
  • Loading branch information
chadek committed Feb 24, 2024
1 parent ae1e0b1 commit fb290ad
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@ appstore:
cp -r oo-extract/var/www/onlyoffice/documentserver 3rdparty/onlyoffice
cp oo-extract/usr/lib64/* 3rdparty/onlyoffice/documentserver/server/FileConverter/bin/
cp oo-extract/usr/lib64/* 3rdparty/onlyoffice/documentserver/server/tools/
rm -rf oo-extract
rm -f onlyoffice-documentserver.x86_64.rpm
bash -c 'rm -rf 3rdparty/onlyoffice/documentserver/server/{Common,DocService}'
bash -c 'rm -rf 3rdparty/onlyoffice/documentserver/server/{Common/config/*,DocService}'
bash -c 'rm -rf 3rdparty/onlyoffice/documentserver/web-apps/apps/*/main/resources/help/{de,es,fr,it,ru}/images'
cp oo-extract/etc/onlyoffice/documentserver/default.json 3rdparty/onlyoffice/documentserver/server/Common/config/
rm -rf oo-extract
jq '.services.CoAuthoring.autoAssembly.enable = "true"' 3rdparty/onlyoffice/documentserver/server/Common/config/default.json > tmp.$$.json
mv tmp.$$.json 3rdparty/onlyoffice/documentserver/server/Common/config/default.json
cd 3rdparty/onlyoffice/documentserver/server/tools && \
./allfontsgen \
--input="../../core-fonts" \
Expand Down

0 comments on commit fb290ad

Please sign in to comment.