From 5875f8a6c3ce48eb1bf6fa6aaa655e146e488611 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Fri, 2 Dec 2016 16:02:44 +0100 Subject: [PATCH] get spreedme script --- nextcloud_install_production.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index 49edfaee..03bd516b 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -485,6 +485,15 @@ CALVER=$(wget -q https://raw.githubusercontent.com/nextcloud/calendar/master/app CALVER_FILE=calendar.tar.gz CALVER_REPO=https://github.com/nextcloud/calendar/releases/download +# Get spreedme script +if [ -f $SCRIPTS/spreedme.sh ] +then + rm $SCRIPTS/spreedme.sh + wget -q $STATIC/spreedme.sh -P $SCRIPTS +else + wget -q $STATIC/spreedme.sh -P $SCRIPTS +fi + sudo -u www-data php $NCPATH/occ config:system:set preview_libreoffice_path --value="/usr/bin/libreoffice" function calendar {