avoid error message on talk install (known) and timeout
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Родитель
48694c2822
Коммит
316a5b4cca
11
inst
11
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
|
||||
}
|
||||
|
|
2
setup
2
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
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче