diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-02-14 01:17:53 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2020-02-14 01:17:53 +0300 |
commit | 316a5b4ccace718a9f2a4361ad16ed9303b0f8a7 (patch) | |
tree | bec8bd8108dd2ff3bbef36a64785677bcaeb3f1e /inst | |
parent | 48694c2822fda665e7bfce41dd9af7e39a2c30ca (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-- | inst | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -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 } |