Skip to content

Commit

Permalink
Fix data loss issue (#320)
Browse files Browse the repository at this point in the history
* add default.json to documentserver 3rdparty component

Signed-off-by: Fabrice Meyer <[email protected]>

* bump app version number

---------

Signed-off-by: Fabrice Meyer <[email protected]>
  • Loading branch information
chadek authored Apr 7, 2024
1 parent b710688 commit 62a72cd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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
2 changes: 1 addition & 1 deletion appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The community document server will automatically be configured if no other docum
Additionally, the community document server only supports running on x86-64 Linux servers.]]>
</description>
<version>0.1.15</version>
<version>0.1.16</version>
<licence>agpl</licence>
<author>Robin Appelman</author>
<namespace>DocumentServer</namespace>
Expand Down

0 comments on commit 62a72cd

Please sign in to comment.