Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/univention-app.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/inst
diff options
context:
space:
mode:
authorNico Gulden <gulden@univention.de>2020-06-30 15:03:03 +0300
committerNico Gulden <gulden@univention.de>2020-08-14 10:34:19 +0300
commit379f5cc4c8267251eaacaf65831034d9b9badc7a (patch)
tree6571bcae22ebddba85cb5c66fb993285a2a4777d /inst
parenta424badfd9590d8bb4d87afaeec3d874b8d538a2 (diff)
Add autodetection for ONLYOFFICE Document Server integration edition
For the ONLYOFFICE Document Server Integration Edition the autodetection needs to work accordingly and activate the ONLYOFFICE plugin in Nextcloud. Signed-off-by: Nico Gulden <gulden@univention.de>
Diffstat (limited to 'inst')
-rw-r--r--inst2
1 files changed, 1 insertions, 1 deletions
diff --git a/inst b/inst
index f7a9952..526d12c 100644
--- a/inst
+++ b/inst
@@ -443,7 +443,7 @@ detect_onlyoffice () {
# If the app is not present, the onlyoffice app is disabled
FQDN="$(ucr get hostname).$(ucr get domainname)"
echo "Check for onlyoffice app"
- if [ "$(ucr get appcenter/apps/onlyoffice-ds/status)" = "installed" ] ; then
+ if [ "$(ucr get appcenter/apps/onlyoffice-ds/status)" = "installed" ] || [ "$(ucr get appcenter/apps/onlyoffice-ds-ie/status)" = "installed" ] ; then
NC_OFFICE_SUITE=onlyoffice
univention-app shell nextcloud sudo -u www-data /var/www/html/occ app:enable onlyoffice
occCode=$?