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 } diff --git a/setup b/setup index d115472..c643c4f 100644 --- a/setup +++ b/setup @@ -50,7 +50,7 @@ install_hub_apps () { $OCC app:enable calendar $OCC app:enable contacts $OCC app:enable mail - $OCC app:install spreed; $OCC app:enable spreed + $OCC app:install spreed 2> /dev/null; echo -n 'enabling Talk... '; $OCC app:enable spreed # logic for office suite resides in join script }