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:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2020-02-14 01:17:53 +0300
committerArthur Schiwon <blizzz@arthur-schiwon.de>2020-02-14 01:17:53 +0300
commit316a5b4ccace718a9f2a4361ad16ed9303b0f8a7 (patch)
treebec8bd8108dd2ff3bbef36a64785677bcaeb3f1e /inst
parent48694c2822fda665e7bfce41dd9af7e39a2c30ca (diff)
avoid error message on talk install (known) and timeout
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'inst')
-rw-r--r--inst11
1 files changed, 9 insertions, 2 deletions
diff --git a/inst b/inst
index 926c1a7..dec99fc 100644
--- a/inst
+++ b/inst
@@ -455,8 +455,15 @@ detect_onlyoffice () {
ensure_office () {
if [[ "$NC_OFFICE_SUITE" = "oo_community" ]] && [[ "$IS_UPDATE" = false ]] ; then
- echo "No office suite present – installing Community Document Server"
- univention-app shell nextcloud sudo -u www-data /var/www/html/occ app:enable documentserver_community
+ echo -n "No office suite present – installing Community Document Server"
+ nohup univention-app shell nextcloud sudo -u www-data /var/www/html/occ app:enable documentserver_community &
+ PID=$!
+ while ps --pid ${PID} > /dev/null; do
+ echo -n .
+ sleep 3
+ done
+ echo
+
univention-app shell nextcloud sudo -u www-data /var/www/html/occ app:enable onlyoffice
fi
}